]> git.notmuchmail.org Git - notmuch/commitdiff
cli: initialize quiet variable in compact
authorJani Nikula <jani@nikula.org>
Fri, 10 Jan 2014 20:23:09 +0000 (22:23 +0200)
committerDavid Bremner <david@tethera.net>
Mon, 13 Jan 2014 18:30:27 +0000 (14:30 -0400)
Surprisingly there's no compiler warning!

notmuch-compact.c

index 8b820c0d12389eea75198aa70d65dbd3efc8be49..6c5909386da8e49ea9fd5dfe56c947fcbadafdc1 100644 (file)
@@ -32,7 +32,7 @@ notmuch_compact_command (notmuch_config_t *config, int argc, char *argv[])
     const char *path = notmuch_config_get_database_path (config);
     const char *backup_path = NULL;
     notmuch_status_t ret;
-    notmuch_bool_t quiet;
+    notmuch_bool_t quiet = FALSE;
     int opt_index;
 
     notmuch_opt_desc_t options[] = {