mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1389851 - netwerk: Fix -Wunreachable-code-return warning in nsGIOProtocolHandler.cpp. r=karlt
netwerk/protocol/gio/nsGIOProtocolHandler.cpp:89:10: warning: 'return' will never be executed [-Wunreachable-code-return] This `return NS_ERROR_FAILURE` statement at the end of this function is unreachable because all of the preceding switch statement's cases return. MozReview-Commit-ID: 3qDu2IqTPrW --HG-- extra : rebase_source : bcd8a07eee82b60fc071787ccb7df7d9f45d0679
This commit is contained in:
parent
9ce1ea9579
commit
1447808ce8
@ -85,8 +85,6 @@ MapGIOResult(gint code)
|
||||
default:
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
static nsresult
|
||||
|
Loading…
x
Reference in New Issue
Block a user