From 41d5c44f7dbe4f15d30ec1da1f1d904febf4f17b Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Sun, 21 Jul 2013 15:53:53 -0700 Subject: [PATCH] Bug 896032: Don't bother capturing return value from CallGetService in nsGtkKeyUtils.cpp, since we don't use it. r=smontagu --- widget/gtk2/nsGtkKeyUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/gtk2/nsGtkKeyUtils.cpp b/widget/gtk2/nsGtkKeyUtils.cpp index 3e49249efbf..90bd89b78a6 100644 --- a/widget/gtk2/nsGtkKeyUtils.cpp +++ b/widget/gtk2/nsGtkKeyUtils.cpp @@ -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();