mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Move empty entries warning to -Wextra
Since the behavior actually kinda makes sense, it's better as extra.
This commit is contained in:
@@ -77,7 +77,6 @@ enum MetaWarningCommand {
|
|||||||
/* Warnings that probably indicate an error */
|
/* Warnings that probably indicate an error */
|
||||||
static uint8_t const _wallCommands[] = {
|
static uint8_t const _wallCommands[] = {
|
||||||
WARNING_BUILTIN_ARG,
|
WARNING_BUILTIN_ARG,
|
||||||
WARNING_EMPTY_ENTRY,
|
|
||||||
WARNING_LARGE_CONSTANT,
|
WARNING_LARGE_CONSTANT,
|
||||||
WARNING_LONG_STR,
|
WARNING_LONG_STR,
|
||||||
META_WARNING_DONE
|
META_WARNING_DONE
|
||||||
@@ -85,6 +84,7 @@ static uint8_t const _wallCommands[] = {
|
|||||||
|
|
||||||
/* Warnings that are less likely to indicate an error */
|
/* Warnings that are less likely to indicate an error */
|
||||||
static uint8_t const _wextraCommands[] = {
|
static uint8_t const _wextraCommands[] = {
|
||||||
|
WARNING_EMPTY_ENTRY,
|
||||||
WARNING_OBSOLETE,
|
WARNING_OBSOLETE,
|
||||||
META_WARNING_DONE
|
META_WARNING_DONE
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user