mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
remove ineffective assignments
Detected by cppcheck.
This commit is contained in:
parent
e9d73f90a6
commit
410b96080c
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue