# HG changeset patch # User Eric Blake # Date 1180365023 0 # Node ID 42187fcef3673a87568d05e2248128037e1c5b62 # Parent b828a58c69338397c88c023e512a0865ce3bbcff * lib/allocsa.h (safe_alloca): Avoid compiler warning. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-05-28 Eric Blake + + * lib/allocsa.h (safe_alloca): Avoid compiler warning. + 2007-05-28 Bruno Haible * modules/fseek-tests: New file. diff --git a/lib/allocsa.h b/lib/allocsa.h --- a/lib/allocsa.h +++ b/lib/allocsa.h @@ -46,7 +46,7 @@ This must be a macro, not an inline function. */ # define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL) #else -# define safe_alloca(N) ((N), NULL) +# define safe_alloca(N) ((void) (N), NULL) #endif /* allocsa(N) is a safe variant of alloca(N). It allocates N bytes of