[Libreoffice-commits] core.git: connectivity/source
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Wed Mar 18 19:57:37 UTC 2020
connectivity/source/parse/sqlflex.l | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 28e72991f88b564cc184533be9a7d6ffc5f41947
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Mon Feb 3 16:57:45 2020 +0100
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Mar 18 20:57:14 2020 +0100
avoid clang's unreachable code warning
Change-Id: I1a3aa4f560fbc2d41872a634a599226c592ddc18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90715
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l
index 1339cc95a39d..62cdc0abb865 100644
--- a/connectivity/source/parse/sqlflex.l
+++ b/connectivity/source/parse/sqlflex.l
@@ -98,7 +98,7 @@ static void do_fatal_error(const char* msg)
{
xxx_pGLOBAL_SQLSCAN->SQLyyerror(msg);
/*hack to silence -Wunused-function*/
- if (0) yy_fatal_error(msg);
+ if ((0)) yy_fatal_error(msg);
}
#define YY_FATAL_ERROR(msg) \
More information about the Libreoffice-commits
mailing list