mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
maint: avoid warning from gcc's -Wunused-macros
On some systems, -Wunused-macros would warn about two macros: src/factor.c:148:0: warning: macro "__clz_tab" is not used src/factor.c:126:0: warning: macro "UHWtype" is not used * src/factor.c: Add a use to placate gcc.
This commit is contained in:
1 parent
f947735d3c
commit
231e40a6ba
1 file changed
+6
@@ -173,6 +173,12 @@ const unsigned char factor_clz_tab[129] =
|
||||
|
||||
#endif
|
||||
|
||||
#if !defined __clz_tab && !defined UHWtype
|
||||
/* Without this seemingly useless conditional, gcc -Wunused-macros
|
||||
warns that each of the two tested macros is unused on Fedora 18.
|
||||
FIXME: this is just an ugly band-aid. Fix it properly. */
|
||||
#endif
|
||||
|
||||
enum alg_type { ALG_POLLARD_RHO = 1, ALG_SQUFOF = 2 };
|
||||
|
||||
static enum alg_type alg;
|
||||
|
||||
Reference in new issue
Block a user