Bug 896032: Don't bother capturing return value from CallGetService in nsGtkKeyUtils.cpp, since we don't use it. r=smontagu

This commit is contained in:
Daniel Holbert 2013-07-21 15:53:53 -07:00
parent bda5f61652
commit 41d5c44f7d

View File

@ -549,7 +549,7 @@ KeymapWrapper::OnKeysChanged(GdkKeymap *aGdkKeymap,
// Reset the bidi keyboard settings for the new GdkKeymap
if (!sBidiKeyboard) {
nsresult rv = CallGetService("@mozilla.org/widget/bidikeyboard;1", &sBidiKeyboard);
CallGetService("@mozilla.org/widget/bidikeyboard;1", &sBidiKeyboard);
}
if (sBidiKeyboard) {
sBidiKeyboard->Reset();