From 809a5b1243f7bccfa4652abb827616647f8a7a12 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Sun, 14 Aug 2011 10:39:20 -0700 Subject: [PATCH] Bug 665532 - Fix unused variable warnings in nsWifiMonitor.cpp by removing now unneeded LOG()s; r=dougt --- netwerk/wifi/nsWifiMonitor.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/netwerk/wifi/nsWifiMonitor.cpp b/netwerk/wifi/nsWifiMonitor.cpp index ba9af1074d1..0e5bf82d583 100644 --- a/netwerk/wifi/nsWifiMonitor.cpp +++ b/netwerk/wifi/nsWifiMonitor.cpp @@ -170,8 +170,7 @@ NS_IMETHODIMP nsPassErrorToWifiListeners::Run() { LOG(("About to send error to the wifi listeners\n")); for (PRInt32 i = 0; i < mListeners->Count(); i++) { - nsresult rv = (*mListeners)[i]->OnError(mResult); - LOG( ("... sent %d\n", rv)); + (*mListeners)[i]->OnError(mResult); } return NS_OK; } @@ -229,9 +228,7 @@ NS_IMETHODIMP nsCallWifiListeners::Run() { LOG(("About to send data to the wifi listeners\n")); for (PRInt32 i = 0; i < mListeners->Count(); i++) { - nsresult rv = (*mListeners)[i]->OnChange(mAccessPoints->Elements(), - mAccessPoints->Length()); - LOG( ("... sent %d\n", rv)); + (*mListeners)[i]->OnChange(mAccessPoints->Elements(), mAccessPoints->Length()); } return NS_OK; }