From 68781221878372e3045690a5fb943852b88739a6 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 2 Mar 2015 14:43:05 +0100 Subject: [PATCH] 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 --- ui/qt/main_window.cpp | 1 - 1 file changed, 1 deletion(-) 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: