Pacify gcc 14 -Wanalyzer-infinite-loop
* gnulib.modules: Add stddef, for ‘unreachable’. * src/compare.c (dumpdir_cmp): Tell GCC that the default case is unreachable. Make just one pass through the string, instead of two passes (one via strcmp, another via strlen).
This commit is contained in:
@@ -92,6 +92,7 @@ setenv
|
||||
snprintf
|
||||
stat-time
|
||||
stdbool
|
||||
stddef
|
||||
stdint
|
||||
stpcpy
|
||||
stdopen
|
||||
|
||||
Reference in New Issue
Block a user