8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Warnings.

This commit is contained in:
asfernandes 2014-02-21 15:47:05 +00:00
parent 580a32a80d
commit cb3f15792e
3 changed files with 1 additions and 3 deletions

View File

@ -890,7 +890,7 @@ void GDS_breakpoint(int);
#define FB_FINAL
#endif
#define FB_UNUSED(value) do { if (value); } while (false)
#define FB_UNUSED(value) do { if (value) {} } while (false)
// 30 Dec 2002. Nickolay Samofatov
// This needs to be checked for all supported platforms

View File

@ -2013,7 +2013,6 @@ static processing_state add_row(TEXT* tabname)
STDERROUT(infobuf);
TEXT txt[MSG_LENGTH];
const char* name;
bool done = false;
while (!done)
{

View File

@ -3974,7 +3974,6 @@ static processing_state show_generators(const SCHAR* object)
* incrementing by 0 to not change the current value.
*
**************************************/
SSHORT indicator;
bool found = false;
XSQLDA sqlda;
const char genIdStr[] = "SELECT GEN_ID(%s, 0) FROM RDB$DATABASE";