зеркало из https://github.com/mozilla/pjs.git
Bug 665532 - Fix unused variable warnings in nsWifiMonitor.cpp by removing now unneeded LOG()s; r=dougt
This commit is contained in:
Родитель
b91ad4d41f
Коммит
809a5b1243
|
@ -170,8 +170,7 @@ NS_IMETHODIMP nsPassErrorToWifiListeners::Run()
|
||||||
{
|
{
|
||||||
LOG(("About to send error to the wifi listeners\n"));
|
LOG(("About to send error to the wifi listeners\n"));
|
||||||
for (PRInt32 i = 0; i < mListeners->Count(); i++) {
|
for (PRInt32 i = 0; i < mListeners->Count(); i++) {
|
||||||
nsresult rv = (*mListeners)[i]->OnError(mResult);
|
(*mListeners)[i]->OnError(mResult);
|
||||||
LOG( ("... sent %d\n", rv));
|
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
@ -229,9 +228,7 @@ NS_IMETHODIMP nsCallWifiListeners::Run()
|
||||||
{
|
{
|
||||||
LOG(("About to send data to the wifi listeners\n"));
|
LOG(("About to send data to the wifi listeners\n"));
|
||||||
for (PRInt32 i = 0; i < mListeners->Count(); i++) {
|
for (PRInt32 i = 0; i < mListeners->Count(); i++) {
|
||||||
nsresult rv = (*mListeners)[i]->OnChange(mAccessPoints->Elements(),
|
(*mListeners)[i]->OnChange(mAccessPoints->Elements(), mAccessPoints->Length());
|
||||||
mAccessPoints->Length());
|
|
||||||
LOG( ("... sent %d\n", rv));
|
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче