]> Savannah Git Hosting - gnulib.git/commitdiff
sys_file tests: Avoid warning.
authorBruno Haible <bruno@clisp.org>
Sat, 22 Apr 2017 12:43:23 +0000 (14:43 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 22 Apr 2017 12:43:23 +0000 (14:43 +0200)
* tests/test-sys_file.c (main): Add a default clause to the switch
statement.

ChangeLog
tests/test-sys_file.c

index e3109e10b7c3cd1d922f8b32dee5a97a69e9a85d..e956238910207fb6291685498b6fb8f0d683db71 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-22  Bruno Haible  <bruno@clisp.org>
+
+       sys_file tests: Avoid warning.
+       * tests/test-sys_file.c (main): Add a default clause to the switch
+       statement.
+
 2017-04-22  Bruno Haible  <bruno@clisp.org>
 
        sethostname: Update doc.
index 3be1e57976fdf9abccda7c7a70adf8808617d0be..6394c7779ebe14a8997336051ad6fa1367cbb2f3 100644 (file)
@@ -30,6 +30,8 @@ main (void)
     case LOCK_NB:
     case LOCK_UN:
       ;
+    default:
+      ;
     }
   return 0;
 }