vcl/unx/gtk/gtksalmenu.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 842970f8469e0147ff9fdb06ebf8ee1a3299e78e
Author: Julien Nabet <serval2...@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 <c...@libreoffice.org>
    Reviewed-by: Julien Nabet <serval2...@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());
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to