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:
Carl Worth 2010-03-09 12:05:43 -08:00
parent 07876ac135
commit c446f22dee

View file

@ -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);