]> git.notmuchmail.org Git - notmuch/commitdiff
Revert "Remove some unneeded initializers."
authorCarl Worth <cworth@cworth.org>
Sat, 24 Oct 2009 15:06:23 +0000 (08:06 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 24 Oct 2009 15:06:23 +0000 (08:06 -0700)
This reverts commit fb1bae07002d45138832eacb280419dbd7a19774.

These initializers were totally necessary. I clearly wasn't
thinking straight when I removed them.

notmuch.c

index 5e59470b7efd51e4e765759cede208d8b2da23b2..8981ff3955f1f66413a6f06996a2d76a1201cf6b 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -590,7 +590,7 @@ int
 dump_command (int argc, char *argv[])
 {
     FILE *output;
 dump_command (int argc, char *argv[])
 {
     FILE *output;
-    notmuch_database_t *notmuch;
+    notmuch_database_t *notmuch = NULL;
     notmuch_query_t *query;
     notmuch_results_t *results;
     notmuch_message_t *message;
     notmuch_query_t *query;
     notmuch_results_t *results;
     notmuch_message_t *message;
@@ -666,7 +666,7 @@ int
 restore_command (int argc, char *argv[])
 {
     FILE *input;
 restore_command (int argc, char *argv[])
 {
     FILE *input;
-    notmuch_database_t *notmuch;
+    notmuch_database_t *notmuch = NULL;
     char *line = NULL;
     size_t line_size, line_len;
     regex_t regex;
     char *line = NULL;
     size_t line_size, line_len;
     regex_t regex;