8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 23:23:02 +01:00
This commit is contained in:
AlexPeshkoff 2021-07-26 20:17:33 +03:00
parent 69e7d994e9
commit 63b87dcde7

View File

@ -1417,7 +1417,6 @@ bool ISQL_statement_ends_in_comment(const char* statement)
const char* const statementStart = statement; const char* const statementStart = statement;
const char* commentStart = nullptr; const char* commentStart = nullptr;
const char* commentEnd = nullptr; const char* commentEnd = nullptr;
const char* altQuoteStart = nullptr;
char altQuoteChar = '\0'; char altQuoteChar = '\0';
enum enum
@ -1473,8 +1472,6 @@ bool ISQL_statement_ends_in_comment(const char* statement)
case normal: case normal:
if (lastChar == 'q' || lastChar == 'Q') if (lastChar == 'q' || lastChar == 'Q')
{ {
altQuoteStart = statement - 2;
if (!(altQuoteChar = *statement++)) if (!(altQuoteChar = *statement++))
return false; return false;