diff --git a/src/Layout.cpp b/src/Layout.cpp index 904911b1e1..cf4fc6bc91 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -876,6 +876,7 @@ docstring const i18npreamble(Language const * lang, Encoding const & enc, // tex2lyx does not have getMessages() LASSERT(false, /**/); (void)enc; + (void)unicode; #else string const langenc = lang->encoding()->iconvName(); string const texenc = lang->encoding()->latexName();