From 5b28dba19970fda58016b04a4cfe7aff3ce9ba02 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 26 Oct 2013 17:20:18 +0000 Subject: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang svn path=/trunk/; revision=52876 --- ui/qt/export_object_dialog.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'ui/qt') diff --git a/ui/qt/export_object_dialog.cpp b/ui/qt/export_object_dialog.cpp index 7beb0269a6..7de589879a 100644 --- a/ui/qt/export_object_dialog.cpp +++ b/ui/qt/export_object_dialog.cpp @@ -307,7 +307,6 @@ void ExportObjectDialog::saveAllEntries() file_name = path.filePath(safe_filename->str); g_string_free(safe_filename, TRUE); } while (g_file_test(file_path.toUtf8().constData(), G_FILE_TEST_EXISTS) && ++count < 1000); - count = 0; if (!eo_save_entry(file_path.toUtf8().constData(), entry, FALSE)) all_saved = false; } -- cgit v1.2.3