diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-02 16:27:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-02 16:49:48 +0200 |
commit | abb6ab4145b49d1320637792ec8f858b7c9156fe (patch) | |
tree | c84cb72ceee4a9efa0e19e1a92137a04ffc8b8f7 /connectivity | |
parent | 205641f3757acd8d0372b1353eff7fd8de999364 (diff) |
Fix warnings in sqlflex.l, sqlbison.y
Change-Id: I6c6b9452014940e09f8f4b7466c5a5f562c9fff5
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/parse/sqlbison.y | 6 | ||||
-rw-r--r-- | connectivity/source/parse/sqlflex.l | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y index fb3837303367..de0d7b7a28ec 100644 --- a/connectivity/source/parse/sqlbison.y +++ b/connectivity/source/parse/sqlbison.y @@ -4348,10 +4348,6 @@ IMPLEMENT_CONSTASCII_STRING(KEY_STR_COLLECT, "COLLECT"); IMPLEMENT_CONSTASCII_STRING(KEY_STR_FUSION, "FUSION"); IMPLEMENT_CONSTASCII_STRING(KEY_STR_INTERSECTION, "INTERSECTION"); -IMPLEMENT_CONSTASCII_STRING(FIELD_STR_NULLDATE, "NullDate"); - -IMPLEMENT_CONSTASCII_STRING(STR_SQL_TOKEN, "SQL_TOKEN_"); - //========================================================================== //= OParseContext //========================================================================== @@ -4675,7 +4671,7 @@ OSQLParseNode* OSQLParser::parseTree(::rtl::OUString& rErrorMessage, // to work around a bug in MKS YACC return the member m_pParseTree // instead of Sdbyyval.pParseNode - SAL_WARN_IF(!m_pParseTree, "connectivity", + SAL_WARN_IF(!m_pParseTree, "connectivity.parse", "OSQLParser: Parser did not create ParseTree"); return m_pParseTree; } diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index 0aad9d2cf54e..d8e659c382f7 100644 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -708,7 +708,7 @@ OSQLScanner::~OSQLScanner() { } //------------------------------------------------------------------------------ -void OSQLScanner::SQLyyerror(sal_Char *fmt) +void OSQLScanner::SQLyyerror(char const *fmt) { if(IN_SQLyyerror) |