diff options
author | Joerg Mayer <jmayer@loplof.de> | 2018-06-15 13:21:28 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2018-06-18 16:22:43 +0000 |
commit | f1c410275f94116f729d4302a9d121192e65d1b1 (patch) | |
tree | 0a54ddb8aeb3dece84eee48d79ddd41d6169855a /ui/qt/wireless_timeline.cpp | |
parent | 9ce30360371a320a6d989cf71a121998cd9713b1 (diff) |
Get rid of some occurrences of Q_UNUSED
- Trivial by just doing it the C++ way
- Non-Trivial where the whole function can be put into the #ifdef instead of the variable use case
Change-Id: I034751b8a3c70211173f0c06c954def94450db46
Reviewed-on: https://code.wireshark.org/review/28311
Petri-Dish: Jörg Mayer <jmayer@loplof.de>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'ui/qt/wireless_timeline.cpp')
-rw-r--r-- | ui/qt/wireless_timeline.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/qt/wireless_timeline.cpp b/ui/qt/wireless_timeline.cpp index cfd9c96334..be8677a5a4 100644 --- a/ui/qt/wireless_timeline.cpp +++ b/ui/qt/wireless_timeline.cpp @@ -175,10 +175,8 @@ void WirelessTimeline::clip_tsf() } -void WirelessTimeline::selectedFrameChanged(int frameNum) +void WirelessTimeline::selectedFrameChanged(int) { - Q_UNUSED(frameNum); - if (isHidden()) return; |