mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
cli: remove leftover dir variable
No functional changes.
This commit is contained in:
parent
2c1a7321e9
commit
73339ade99
1 changed files with 0 additions and 3 deletions
|
@ -351,7 +351,6 @@ add_files (notmuch_database_t *notmuch,
|
||||||
const char *path,
|
const char *path,
|
||||||
add_files_state_t *state)
|
add_files_state_t *state)
|
||||||
{
|
{
|
||||||
DIR *dir = NULL;
|
|
||||||
struct dirent *entry = NULL;
|
struct dirent *entry = NULL;
|
||||||
char *next = NULL;
|
char *next = NULL;
|
||||||
time_t fs_mtime, db_mtime;
|
time_t fs_mtime, db_mtime;
|
||||||
|
@ -655,8 +654,6 @@ add_files (notmuch_database_t *notmuch,
|
||||||
DONE:
|
DONE:
|
||||||
if (next)
|
if (next)
|
||||||
talloc_free (next);
|
talloc_free (next);
|
||||||
if (dir)
|
|
||||||
closedir (dir);
|
|
||||||
if (fs_entries) {
|
if (fs_entries) {
|
||||||
for (i = 0; i < num_fs_entries; i++)
|
for (i = 0; i < num_fs_entries; i++)
|
||||||
free (fs_entries[i]);
|
free (fs_entries[i]);
|
||||||
|
|
Loading…
Reference in a new issue