mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
Corrections (PVS-Studio).
This commit is contained in:
parent
85b7075cf9
commit
fefc8f9d00
@ -665,7 +665,7 @@ string IntlUtil::escapeAttribute(Jrd::CharSet* cs, const string& s)
|
||||
ULONG l;
|
||||
UCHAR* uc = (UCHAR*)(&l);
|
||||
|
||||
const ULONG uSize = cs->getConvToUnicode().convert(size, p, sizeof(uc), uc);
|
||||
const ULONG uSize = cs->getConvToUnicode().convert(size, p, sizeof(l), uc);
|
||||
|
||||
if (uSize == 2)
|
||||
{
|
||||
|
@ -1826,7 +1826,7 @@ static bool get_switches(int argc,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (**argv != 'n' || **argv != 'N')
|
||||
if (**argv != 'n' && **argv != 'N')
|
||||
{
|
||||
fprintf(stderr, "-sqlda : Deprecated Feature: you must use XSQLDA\n ");
|
||||
print_switches();
|
||||
|
Loading…
Reference in New Issue
Block a user