mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-08 02:22:54 +03:00
uthash.h: fix compiler warning for missing default case in switch statement
Added a no-op default case to switch statement in macro HASH_JEN in order to fix compiler warning.
This commit is contained in:
1 parent
318eec25b5
commit
3feee38045
1 file changed
+1
@@ -597,6 +597,7 @@ do {
|
||||
case 3: _hj_i += ( (unsigned)_hj_key[2] << 16 ); /* FALLTHROUGH */ \
|
||||
case 2: _hj_i += ( (unsigned)_hj_key[1] << 8 ); /* FALLTHROUGH */ \
|
||||
case 1: _hj_i += _hj_key[0]; \
|
||||
default: ; /* does not happen */ \
|
||||
} \
|
||||
HASH_JEN_MIX(_hj_i, _hj_j, hashv); \
|
||||
} while (0)
|
||||
|
||||
Reference in new issue
Block a user