examples: Use WARN_CFLAGS, WERROR_CFLAGS macros instead of -Wall
[libguestfs.git] / cat / virt-filesystems.c
index cd991e8..c6d52ac 100644 (file)
@@ -24,6 +24,7 @@
 #include <inttypes.h>
 #include <unistd.h>
 #include <getopt.h>
+#include <locale.h>
 #include <assert.h>
 
 #include "c-ctype.h"
@@ -46,6 +47,7 @@
 guestfs_h *g;
 
 int read_only = 1;
+int live = 0;
 int verbose = 0;
 int keys_from_stdin = 0;
 int echo_keys = 0;
@@ -301,6 +303,7 @@ main (int argc, char *argv[])
    */
   assert (read_only == 1);
   assert (inspector == 0);
+  assert (live == 0);
 
   /* Must be no extra arguments on the command line. */
   if (optind != argc)