diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-07-06 19:47:23 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-07-06 18:31:20 +0000 |
commit | 68daa668e4d57e71a6f6cbb0e562bc051b40ab54 (patch) | |
tree | 2c47e6b6d6863a6e7837c23086972bd582230f38 /ui/qt/manage_interfaces_dialog.cpp | |
parent | 550f611162ad03fb35264800b93ee79e75aa9530 (diff) | |
download | wireshark-68daa668e4d57e71a6f6cbb0e562bc051b40ab54.tar.gz |
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I9946e55ee33ccbf57c6b268f725f5b1a537b61a9
Reviewed-on: https://code.wireshark.org/review/2897
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/manage_interfaces_dialog.cpp')
-rw-r--r-- | ui/qt/manage_interfaces_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/manage_interfaces_dialog.cpp b/ui/qt/manage_interfaces_dialog.cpp index c11bd8990b..9331eaf59c 100644 --- a/ui/qt/manage_interfaces_dialog.cpp +++ b/ui/qt/manage_interfaces_dialog.cpp @@ -324,7 +324,7 @@ void ManageInterfacesDialog::checkBoxChanged(QTableWidgetItem* item) void ManageInterfacesDialog::on_localButtonBox_accepted() { - gchar *new_hide = g_strdup(""); + gchar *new_hide; gchar *new_comment = NULL; QString name; gchar *tmp_descr = NULL; |