]> Savannah Git Hosting - gnulib.git/commitdiff
quotearg tests: Avoid warnings.
authorBruno Haible <bruno@clisp.org>
Sat, 22 Apr 2017 12:24:36 +0000 (14:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 22 Apr 2017 12:24:36 +0000 (14:24 +0200)
* tests/test-quotearg.c: Don't include test-quotearg.h if ENABLE_NLS is
false.

ChangeLog
tests/test-quotearg.c

index 45a7d874e48b392df8dfea77c8446c3fdeddfda5..3ffc954a8c2965592772c7d236cae2415f072d54 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-22  Bruno Haible  <bruno@clisp.org>
+
+       quotearg tests: Avoid warnings.
+       * tests/test-quotearg.c: Don't include test-quotearg.h if ENABLE_NLS is
+       false.
+
 2017-04-22  Bruno Haible  <bruno@clisp.org>
 
        poll: Enable argument check.
index e63e8b08da25016c203faf79a33b5a1778d8acd6..9308f03708289ece0e0b09b160d4adb4577b8283 100644 (file)
 #include "gettext.h"
 #include "macros.h"
 
-#include "test-quotearg.h"
-
 #if ENABLE_NLS
 
+# include "test-quotearg.h"
+
 static struct result_groups locale_results[] = {
   /* locale_quoting_style */
   { { LQ RQ, LQ "\\0001\\0" RQ, 11, LQ "simple" RQ,