GNOME Bugzilla – Bug 771071
batch-rename-dialog: clear some task data unconditionally
Last modified: 2016-09-08 18:11:35 UTC
destroy_conflicts_task_data() erroneously checks pointers to the mutex and condition variables. They always evaluate to true and thus no checking should be done in that case.
Created attachment 335133 [details] [review] batch-rename-dialog: clear some task data unconditionally
My compiler spit out the warnings for those.
As the function already relies on the mutex not being locked and the condition variable not being blocked on by threads, we should also rely on them being initialized.
Review of attachment 335133 [details] [review]: LGTM thanks Ernestas!!
Attachment 335133 [details] pushed as e1c4119 - batch-rename-dialog: clear some task data unconditionally