mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
Remove some unneeded initializers.
Some people might argue for more initializers to be "safer", but I actually prefer to leave things this way. It saves typing, but the real benefit is that the things that do require initialization stand out so we know to watch them carefully. And with valgrind, we actually get to catch errors earlier if we *don't* initialize them. So that can be "safer" ironically enough.
This commit is contained in:
parent
336deb279e
commit
fb1bae0700
1 changed files with 2 additions and 2 deletions
|
@ -382,7 +382,7 @@ int
|
|||
dump_command (int argc, char *argv[])
|
||||
{
|
||||
FILE *output;
|
||||
notmuch_database_t *notmuch = NULL;
|
||||
notmuch_database_t *notmuch;
|
||||
notmuch_query_t *query;
|
||||
notmuch_results_t *results;
|
||||
notmuch_message_t *message;
|
||||
|
@ -458,7 +458,7 @@ int
|
|||
restore_command (int argc, char *argv[])
|
||||
{
|
||||
FILE *input;
|
||||
notmuch_database_t *notmuch = NULL;
|
||||
notmuch_database_t *notmuch;
|
||||
char *line = NULL;
|
||||
size_t line_size, line_len;
|
||||
regex_t regex;
|
||||
|
|
Loading…
Reference in a new issue