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 | |
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 | |||
@@ -197,18 +197,16 @@ bool MWirelessNetworkInterface::updateStatistics() | |||
197 | } | 197 | } |
198 | 198 | ||
199 | wstream >> name >> status >> quality >> c >> signal >> c >> noise; | 199 | wstream >> name >> status >> quality >> c >> signal >> c >> noise; |
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 ); |
212 | #endif | 210 | #endif |
213 | 211 | ||
214 | return true; | 212 | return true; |