summaryrefslogtreecommitdiff
path: root/revert-20_Fix-tidy-warnings-3310.patch
diff options
context:
space:
mode:
Diffstat (limited to 'revert-20_Fix-tidy-warnings-3310.patch')
-rw-r--r--revert-20_Fix-tidy-warnings-3310.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/revert-20_Fix-tidy-warnings-3310.patch b/revert-20_Fix-tidy-warnings-3310.patch
new file mode 100644
index 0000000..944a1b7
--- /dev/null
+++ b/revert-20_Fix-tidy-warnings-3310.patch
@@ -0,0 +1,51 @@
+From 1fbcf35677e9cd33a9f6952fcd81c14cdf1b753d Mon Sep 17 00:00:00 2001
+From: Olanti <olanti-p@yandex.ru>
+Date: Sat, 30 Sep 2023 08:43:54 +0300
+Subject: [PATCH] Fix tidy warnings (#3310)
+
+---
+ src/bionics.cpp | 3 +--
+ src/suffer.cpp | 3 ---
+
+diff --git a/src/bionics.cpp b/src/bionics.cpp
+index 1884f75e6f8..a77ff42be5a 100644
+--- a/src/bionics.cpp
++++ b/src/bionics.cpp
+@@ -200,7 +200,6 @@ static const std::string flag_PERSONAL( "PERSONAL" );
+ static const std::string flag_SAFE_FUEL_OFF( "SAFE_FUEL_OFF" );
+ static const std::string flag_SEALED( "SEALED" );
+ static const std::string flag_SEMITANGIBLE( "SEMITANGIBLE" );
+-static const std::string flag_SPLINT( "SPLINT" );
+
+ static const flag_str_id flag_BIONIC_FAULTY( "BIONIC_FAULTY" );
+ static const flag_str_id flag_BIONIC_GUN( "BIONIC_GUN" );
+
+diff --git a/src/suffer.cpp b/src/suffer.cpp
+index 97786373598..390016d1aa5 100644
+--- a/src/suffer.cpp
++++ b/src/suffer.cpp
+@@ -82,13 +82,11 @@ static const efftype_id effect_asthma( "asthma" );
+ static const efftype_id effect_attention( "attention" );
+ static const efftype_id effect_bleed( "bleed" );
+ static const efftype_id effect_blind( "blind" );
+-static const efftype_id effect_cig( "cig" );
+ static const efftype_id effect_cough_aggravated_asthma( "cough_aggravated_asthma" );
+ static const efftype_id effect_datura( "datura" );
+ static const efftype_id effect_deaf( "deaf" );
+ static const efftype_id effect_disabled( "disabled" );
+ static const efftype_id effect_downed( "downed" );
+-static const efftype_id effect_drunk( "drunk" );
+ static const efftype_id effect_feral_killed_recently( "feral_killed_recently" );
+ static const efftype_id effect_formication( "formication" );
+ static const efftype_id effect_glowy_led( "glowy_led" );
+@@ -169,7 +167,6 @@ static const mtype_id mon_zombie_soldier( "mon_zombie_soldier" );
+ static const std::string flag_BLIND( "BLIND" );
+ static const std::string flag_PLOWABLE( "PLOWABLE" );
+ static const std::string flag_RAD_RESIST( "RAD_RESIST" );
+-static const std::string flag_SPLINT( "SPLINT" );
+ static const std::string flag_SUN_GLASSES( "SUN_GLASSES" );
+
+
+--
+2.42.0
+