summaryrefslogtreecommitdiff
path: root/noncore/applets/wirelessapplet
authorsimon <simon>2002-11-02 13:42:02 (UTC)
committer simon <simon>2002-11-02 13:42:02 (UTC)
commitf655415f77b200f9edfbe5732cd5f8da2b4dec47 (patch) (side-by-side diff)
treec5c700cda16dff17876aabae3e676358907b8868 /noncore/applets/wirelessapplet
parentc795a77698b9fc785fb5f04fab8fed33f0570c3f (diff)
downloadopie-f655415f77b200f9edfbe5732cd5f8da2b4dec47.zip
opie-f655415f77b200f9edfbe5732cd5f8da2b4dec47.tar.gz
opie-f655415f77b200f9edfbe5732cd5f8da2b4dec47.tar.bz2
- fixed warning about missing return statement in non-void function.
Okayed by Michael Lauer
Diffstat (limited to 'noncore/applets/wirelessapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/wirelessapplet/networkinfo.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/noncore/applets/wirelessapplet/networkinfo.cpp b/noncore/applets/wirelessapplet/networkinfo.cpp
index 2274d99..e0c487b 100644
--- a/noncore/applets/wirelessapplet/networkinfo.cpp
+++ b/noncore/applets/wirelessapplet/networkinfo.cpp
@@ -198,16 +198,14 @@ bool MWirelessNetworkInterface::updateStatistics()
wstream >> name >> status >> quality >> c >> signal >> c >> noise;
- if ( quality > 92 )
#ifdef MDEBUG
+ if ( quality > 92 )
qDebug( "WIFIAPPLET: D'oh! Quality %d > estimated max!\n", quality );
-#endif
+
if ( ( signal > IW_UPPER ) || ( signal < IW_LOWER ) )
-#ifdef MDEBUG
qDebug( "WIFIAPPLET: Doh! Strength %d > estimated max!\n", signal );
-#endif
+
if ( ( noise > IW_UPPER ) || ( noise < IW_LOWER ) )
-#ifdef MDEBUG
qDebug( "WIFIAPPLET: Doh! Noise %d > estimated max!\n", noise );
#endif