mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:03:04 +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);
|
gen_receive(action, column, port);
|
||||||
printa(column, "if (!SQLCODE)");
|
printa(column, "if (!SQLCODE)");
|
||||||
column += INDENT;
|
column += INDENT;
|
||||||
|
begin(column);
|
||||||
printa(column, "if (%s)", name);
|
printa(column, "if (%s)", name);
|
||||||
column += INDENT;
|
column += INDENT;
|
||||||
|
|
||||||
@ -3153,8 +3154,11 @@ static void gen_select( const act* action, int column)
|
|||||||
endp(column);
|
endp(column);
|
||||||
|
|
||||||
printa(column - INDENT, "else");
|
printa(column - INDENT, "else");
|
||||||
|
begin(column);
|
||||||
printa(column, "SQLCODE = 100;");
|
printa(column, "SQLCODE = 100;");
|
||||||
|
endp(column);
|
||||||
column -= INDENT;
|
column -= INDENT;
|
||||||
|
endp(column);
|
||||||
column -= INDENT;
|
column -= INDENT;
|
||||||
endp(column);
|
endp(column);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user