mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
remove switch-enum warnings
This commit is contained in:
parent
36c523659b
commit
b46a99d7d7
8 changed files with 19 additions and 10 deletions
|
@ -610,7 +610,8 @@ uint64_t crack_states_bitsliced_dispatch(uint32_t cuid, uint8_t *best_first_byte
|
|||
break;
|
||||
#endif
|
||||
#endif
|
||||
default:
|
||||
case SIMD_AUTO:
|
||||
case SIMD_NONE:
|
||||
crack_states_bitsliced_function_p = &crack_states_bitsliced_NOSIMD;
|
||||
break;
|
||||
}
|
||||
|
@ -642,7 +643,8 @@ void bitslice_test_nonces_dispatch(uint32_t nonces_to_bruteforce, uint32_t *bf_t
|
|||
break;
|
||||
#endif
|
||||
#endif
|
||||
default:
|
||||
case SIMD_AUTO:
|
||||
case SIMD_NONE:
|
||||
bitslice_test_nonces_function_p = &bitslice_test_nonces_NOSIMD;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES = -I.
|
||||
MYCFLAGS = -Wno-unused-function -Wno-cast-align -Wno-bad-function-cast
|
||||
MYCFLAGS = -Wno-unused-function -Wno-cast-align -Wno-bad-function-cast -Wno-switch-enum
|
||||
MYDEFS = -DHAVE_STDINT_H
|
||||
MYSRCS = \
|
||||
dump.c \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES = -I.
|
||||
# Lua lib requires GNU extensions (implicit declarations of functions): -std=gnu99 or -std=gnu11
|
||||
MYCFLAGS = -Wno-cast-align -Wno-bad-function-cast
|
||||
MYCFLAGS = -Wno-cast-align -Wno-bad-function-cast -Wno-switch-enum
|
||||
MYDEFS = -DLUA_COMPAT_ALL $(SYSCFLAGS)
|
||||
MYSRCS = lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c \
|
||||
lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue