mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
lib: Silence a compiler warning.
The original code was harmless, but apparently some compilers aren't able to think deep enough to catch that.
This commit is contained in:
parent
07876ac135
commit
c446f22dee
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ notmuch_message_get_filename (notmuch_message_t *message)
|
||||||
const char *prefix = _find_prefix ("file-direntry");
|
const char *prefix = _find_prefix ("file-direntry");
|
||||||
int prefix_len = strlen (prefix);
|
int prefix_len = strlen (prefix);
|
||||||
Xapian::TermIterator i;
|
Xapian::TermIterator i;
|
||||||
char *direntry, *colon;
|
char *colon, *direntry = NULL;
|
||||||
const char *db_path, *directory, *basename;
|
const char *db_path, *directory, *basename;
|
||||||
unsigned int directory_id;
|
unsigned int directory_id;
|
||||||
void *local = talloc_new (message);
|
void *local = talloc_new (message);
|
||||||
|
|
Loading…
Reference in a new issue