remove ineffective assignments

Detected by cppcheck.
This commit is contained in:
Piotr Trojanek 2017-06-16 23:50:24 +01:00 committed by David Bremner
parent e9d73f90a6
commit 410b96080c
2 changed files with 1 additions and 2 deletions

View file

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

View file

@ -218,7 +218,6 @@ makes_changes (notmuch_message_t *message,
notmuch_bool_t changes = FALSE;
/* First, do we delete an existing tag? */
changes = FALSE;
for (tags = notmuch_message_get_tags (message);
! changes && notmuch_tags_valid (tags);
notmuch_tags_move_to_next (tags)) {