vcl/unx/gtk/gtksalmenu.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 842970f8469e0147ff9fdb06ebf8ee1a3299e78e
Author: Julien Nabet <[email protected]>
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 <[email protected]>
Reviewed-by: Julien Nabet <[email protected]>
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());
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits