summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-02-03 16:57:45 +0100
committerLuboš Luňák <l.lunak@collabora.com>2020-03-18 20:57:14 +0100
commit28e72991f88b564cc184533be9a7d6ffc5f41947 (patch)
treea84efd94cef0c36798e4f7c8da501665622bc33e /connectivity
parentUpdate git submodules (diff)
downloadcore-28e72991f88b564cc184533be9a7d6ffc5f41947.tar.gz
core-28e72991f88b564cc184533be9a7d6ffc5f41947.zip
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@collabora.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/parse/sqlflex.l2
1 files changed, 1 insertions, 1 deletions
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) \