blob: 944a1b7cd5e9db830c1b21c8c3f7f842c5ffb76d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
|