X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-compact.c;h=6c5909386da8e49ea9fd5dfe56c947fcbadafdc1;hp=8022dfe9278ad84f0875686343e62ac95ea7fa46;hb=ae47d617a7b4a77dcad1dc89ae5e35abe87f0081;hpb=0e04bda2a97a78ea63c5888fa3b3d60e7f84bd1a diff --git a/notmuch-compact.c b/notmuch-compact.c index 8022dfe9..6c590938 100644 --- a/notmuch-compact.c +++ b/notmuch-compact.c @@ -23,7 +23,7 @@ static void status_update_cb (const char *msg, unused (void *closure)) { - printf("%s\n", msg); + printf ("%s\n", msg); } int @@ -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[] = { @@ -49,7 +49,7 @@ notmuch_compact_command (notmuch_config_t *config, int argc, char *argv[]) ret = notmuch_database_compact (path, backup_path, quiet ? NULL : status_update_cb, NULL); if (ret) { - fprintf (stderr, "Compaction failed: %s\n", notmuch_status_to_string(ret)); + fprintf (stderr, "Compaction failed: %s\n", notmuch_status_to_string (ret)); return 1; }