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

AIX port - fixed warnings

This commit is contained in:
alexpeshkoff 2009-05-28 07:55:13 +00:00
parent ef19c60967
commit 18eccccede
2 changed files with 12 additions and 7 deletions

View File

@ -1138,6 +1138,8 @@ static ISC_STATUS error(const Firebird::Exception& ex)
gds__print_status(UDSQL_error->dsql_status);
exit(UDSQL_error->dsql_status[1]);
return 0; // suppress compiler warning
}
@ -1150,6 +1152,8 @@ static ISC_STATUS error()
gds__print_status(UDSQL_error->dsql_status);
exit(UDSQL_error->dsql_status[1]);
return 0; // suppress compiler warning
}
//____________________________________________________________

View File

@ -267,14 +267,15 @@ private:
struct PatternItem
{
PatternItemType type;
union
struct str_struct
{
struct
{
SLONG length;
CharType* data;
SLONG* kmpNext; // Jump table for Knuth-Morris-Pratt algorithm
} str;
SLONG length;
CharType* data;
SLONG* kmpNext; // Jump table for Knuth-Morris-Pratt algorithm
};
union // anonymous union
{
str_struct str;
SLONG skipCount;
};
bool match_any;