diff --git a/mozilla/extensions/pref/system-pref/src/nsSystemPref.cpp b/mozilla/extensions/pref/system-pref/src/nsSystemPref.cpp index 82dc4566e10..1b872d05d0f 100644 --- a/mozilla/extensions/pref/system-pref/src/nsSystemPref.cpp +++ b/mozilla/extensions/pref/system-pref/src/nsSystemPref.cpp @@ -269,8 +269,8 @@ nsSystemPref::ReadSystemPref(const char *aPrefName) return NS_ERROR_FAILURE; nsresult rv; - nsCOMPtr prefBranch; - do_GetService(NS_PREFSERVICE_CONTRACTID, &rv); + nsCOMPtr prefBranch + (do_GetService(NS_PREFSERVICE_CONTRACTID, &rv)); if (NS_FAILED(rv)) return rv;