aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-24 08:06:23 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-24 08:06:23 -0700
commite1e1f0cb3bf020cb8d8af219c58187abbd33ae23 (patch)
tree53cd2ce37ba54b7a8072cf18ffbb652ddfad52bb /notmuch.c
parent1f193675c436879b5116ecbe113021f1b25734a3 (diff)
Revert "Remove some unneeded initializers."
This reverts commit fb1bae07002d45138832eacb280419dbd7a19774. These initializers were totally necessary. I clearly wasn't thinking straight when I removed them.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch.c b/notmuch.c
index 5e59470b..8981ff39 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -590,7 +590,7 @@ int
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;
@@ -666,7 +666,7 @@ int
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;