aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-03-02 14:43:05 +0100
committerEvan Huus <eapache@gmail.com>2015-03-02 19:02:43 +0000
commit68781221878372e3045690a5fb943852b88739a6 (patch)
treeb7294b218593f736509aebf5b79ba5ce27fdbdfd /ui
parent0ebbb60279e9e5651d516ccb5dbbdd6467457c23 (diff)
Main window (Qt): Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ia8d37b33ee30f09cfe5e0cd00820d84e171deb1c Reviewed-on: https://code.wireshark.org/review/7494 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 7eb7b702b7..025b1cb4cf 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -1092,7 +1092,6 @@ void MainWindow::exportSelectedPackets() {
formats that don't support comments trimmed from it,
so run the dialog again, to let the user decide
whether to save in one of those formats or give up. */
- discard_comments = FALSE;
continue;
case CANCELLED: