mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-18 01:21:45 +01:00
Addressed warnings from -Weverything subset:
-Wconditional-uninitialized -Wshadow -Wswitch-enum -Wunreachable-code-break -Wunused-macros
This commit is contained in:
@@ -113,7 +113,6 @@ static const char s_Gauge5[] = "\005\002Opponent\002darkred\002OPPONENT_HEALTH\
|
||||
#define NUMBER_READ_ONLY false, false, false, false, -1, -1, 0, NULL
|
||||
#define NUMBER_READ_ONLY_SET_TO(x) false, false, false, false, -1, -1, x, NULL
|
||||
#define STRING_READ_ONLY true, false, false, false, -1, -1, 0, NULL
|
||||
#define NUMBER_IN_THE_RANGE(x,y) false, true, false, false, x, y, 0, NULL
|
||||
#define BOOLEAN_SET_TO(x) false, true, false, false, 0, 1, x, NULL
|
||||
#define STRING_WITH_LENGTH_OF(x,y) true, true, false, false, x, y, 0, NULL
|
||||
#define STRING_WRITE_ONCE(x,y) true, true, true, false, -1, -1, 0, NULL
|
||||
|
||||
Reference in New Issue
Block a user