author | simon <simon> | 2002-11-02 13:42:02 (UTC) |
---|---|---|
committer | simon <simon> | 2002-11-02 13:42:02 (UTC) |
commit | f655415f77b200f9edfbe5732cd5f8da2b4dec47 (patch) (unidiff) | |
tree | c5c700cda16dff17876aabae3e676358907b8868 /noncore/applets | |
parent | c795a77698b9fc785fb5f04fab8fed33f0570c3f (diff) | |
download | opie-f655415f77b200f9edfbe5732cd5f8da2b4dec47.zip opie-f655415f77b200f9edfbe5732cd5f8da2b4dec47.tar.gz opie-f655415f77b200f9edfbe5732cd5f8da2b4dec47.tar.bz2 |
- fixed warning about missing return statement in non-void function.
Okayed by Michael Lauer
-rw-r--r-- | noncore/applets/wirelessapplet/networkinfo.cpp | 8 |
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 | |||
@@ -200,12 +200,10 @@ bool MWirelessNetworkInterface::updateStatistics() | |||
200 | 200 | ||
201 | if ( quality > 92 ) | ||
202 | #ifdef MDEBUG | 201 | #ifdef MDEBUG |
202 | if ( quality > 92 ) | ||
203 | qDebug( "WIFIAPPLET: D'oh! Quality %d > estimated max!\n", quality ); | 203 | qDebug( "WIFIAPPLET: D'oh! Quality %d > estimated max!\n", quality ); |
204 | #endif | 204 | |
205 | if ( ( signal > IW_UPPER ) || ( signal < IW_LOWER ) ) | 205 | if ( ( signal > IW_UPPER ) || ( signal < IW_LOWER ) ) |
206 | #ifdef MDEBUG | ||
207 | qDebug( "WIFIAPPLET: Doh! Strength %d > estimated max!\n", signal ); | 206 | qDebug( "WIFIAPPLET: Doh! Strength %d > estimated max!\n", signal ); |
208 | #endif | 207 | |
209 | if ( ( noise > IW_UPPER ) || ( noise < IW_LOWER ) ) | 208 | if ( ( noise > IW_UPPER ) || ( noise < IW_LOWER ) ) |
210 | #ifdef MDEBUG | ||
211 | qDebug( "WIFIAPPLET: Doh! Noise %d > estimated max!\n", noise ); | 209 | qDebug( "WIFIAPPLET: Doh! Noise %d > estimated max!\n", noise ); |