mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-02 11:00:17 +01:00
Addressed warnings from -Weverything subset:
-Wconditional-uninitialized -Wshadow -Wswitch-enum -Wunreachable-code-break -Wunused-macros
This commit is contained in:
parent
821cb709c0
commit
4590ba16d6
20 changed files with 11 additions and 46 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue