mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:43:02 +01:00
backported fix for CORE-3022: gpre C++ compiler warnings with GCC 4.4.1
This commit is contained in:
parent
0a84ecccf9
commit
800d801a89
@ -3134,6 +3134,7 @@ static void gen_select( const act* action, int column)
|
||||
gen_receive(action, column, port);
|
||||
printa(column, "if (!SQLCODE)");
|
||||
column += INDENT;
|
||||
begin(column);
|
||||
printa(column, "if (%s)", name);
|
||||
column += INDENT;
|
||||
|
||||
@ -3153,8 +3154,11 @@ static void gen_select( const act* action, int column)
|
||||
endp(column);
|
||||
|
||||
printa(column - INDENT, "else");
|
||||
begin(column);
|
||||
printa(column, "SQLCODE = 100;");
|
||||
endp(column);
|
||||
column -= INDENT;
|
||||
endp(column);
|
||||
column -= INDENT;
|
||||
endp(column);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user