aboutsummaryrefslogtreecommitdiff
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorPiotr Trojanek <piotr.trojanek@gmail.com>2017-06-16 23:50:24 +0100
committerDavid Bremner <david@tethera.net>2017-06-25 09:38:22 -0300
commit410b96080ceec15ced70e684115f604380c5b4f6 (patch)
tree3e4dde76caeb08d8d5e60d41a5b129cfd98a6ebd /notmuch-new.c
parente9d73f90a6d3945b7ebda9d95ec719e0ba0c9756 (diff)
remove ineffective assignments
Detected by cppcheck.
Diffstat (limited to 'notmuch-new.c')
-rw-r--r--notmuch-new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-new.c b/notmuch-new.c
index e2822e23..4d40f3d0 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -850,7 +850,7 @@ _remove_directory (void *ctx,
const char *path,
add_files_state_t *add_files_state)
{
- notmuch_status_t status = NOTMUCH_STATUS_SUCCESS;
+ notmuch_status_t status;
notmuch_directory_t *directory;
notmuch_filenames_t *files, *subdirs;
char *absolute;