aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/bluetooth_hci_summary_dialog.cpp
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-03-28 19:36:50 -0400
committerMichael Mann <mmann78@netscape.net>2017-03-29 02:38:29 +0000
commitb56bbb493afe6717d2e26c6e795205d7ae10254a (patch)
tree0dd6b8f432c72b7a4457b9e901dad4dea2212093 /ui/qt/bluetooth_hci_summary_dialog.cpp
parent6b0f846ac35a9775090f85a02f58064b4b0117e6 (diff)
Fix "warning C6246: Local declaration hides declaration of the same name in outer scope" warnings
Change-Id: I98edc076fdab40ef1fd05313168011f58e13a4d6 Reviewed-on: https://code.wireshark.org/review/20773 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/bluetooth_hci_summary_dialog.cpp')
-rw-r--r--ui/qt/bluetooth_hci_summary_dialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/bluetooth_hci_summary_dialog.cpp b/ui/qt/bluetooth_hci_summary_dialog.cpp
index 04aa81738d..cd05e3d745 100644
--- a/ui/qt/bluetooth_hci_summary_dialog.cpp
+++ b/ui/qt/bluetooth_hci_summary_dialog.cpp
@@ -493,8 +493,6 @@ gboolean BluetoothHciSummaryDialog::tapPacket(void *tapinfo_ptr, packet_info *pi
}
if (!item) {
- QString name;
-
item = new QTreeWidgetItem();
if (tap_hci->name)
name = tap_hci->name;