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

Fix problem with uninitialized vars (the code has been unreliable since the IB days but it's unlikely that the failure will be triggered).

This commit is contained in:
robocop 2008-12-31 09:42:20 +00:00
parent ac4065558d
commit bb6f2ab0f7

View File

@ -1110,10 +1110,10 @@ static void gen_blr(void* user_arg, SSHORT offset, const char* string)
{
if (p1 < q && (*q1++ = *p1++) == '_')
{
char d;
char d = 0;
if (p1 < q && ((d = *p1++) == '_' || d == '$'))
strncpy(q1 - 4, "isc", 3);
else
else if (d)
*q1++ = d;
}
}