]> git.cworth.org Git - notmuch/blobdiff - notmuch-dump.c
CLI: add (unused) database argument to subcommands.
[notmuch] / notmuch-dump.c
index 52a882837e41025335bdb6f3a5ac264c9d07ea91..eb629dc9f10ec7e2caf96a2f1d9d5d5c93c920c0 100644 (file)
@@ -51,7 +51,9 @@ database_dump_config (notmuch_database_t *notmuch, gzFile output)
            goto DONE;
        }
 
-       GZPRINTF (output, " %s\n", buffer);
+       GZPUTS (output, " ");
+       GZPUTS (output, buffer);
+       GZPUTS (output, "\n");
     }
 
     ret = EXIT_SUCCESS;
@@ -359,7 +361,7 @@ notmuch_database_dump (notmuch_database_t *notmuch,
 }
 
 int
-notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[])
+notmuch_dump_command (notmuch_config_t *config, unused(notmuch_database_t *notmuch), int argc, char *argv[])
 {
     notmuch_database_t *notmuch;
     const char *query_str = NULL;