[Libreoffice-commits] core.git: vcl/unx
Julien Nabet
serval2412 at yahoo.fr
Wed May 11 20:46:39 UTC 2016
vcl/unx/gtk/gtksalmenu.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 842970f8469e0147ff9fdb06ebf8ee1a3299e78e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Wed May 11 21:24:54 2016 +0200
-Werror=unused-variable for non debug build
Change-Id: I110ae4973e98b0fa3c8c5273e778eab9ddcd7476
Reviewed-on: https://gerrit.libreoffice.org/24899
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 66f138d..86aef8c 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -974,6 +974,7 @@ namespace
GtkSalMenu* pSalSubMenu = reinterpret_cast<GtkSalMenu*>(sGtkSalMenu.toInt64());
assert(sWindow == "window" && pSalSubMenu);
+ (void) sWindow; // TODO should we throw an exception ?
return MenuAndId(pSalSubMenu, sItemId.toInt32());
}
More information about the Libreoffice-commits
mailing list