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

Avoid use of nullptr with old compilers.

This commit is contained in:
Vlad Khorsun 2023-01-20 21:40:23 +02:00
parent d9d57ea711
commit e7e25114d9

View File

@ -846,7 +846,7 @@ dsql_udf* METD_get_function(jrd_tra* transaction, DsqlCompilerScratch* dsqlScrat
}
if (userFunc && (userFunc->udf_flags & UDF_dropped))
userFunc = nullptr;
userFunc = NULL;
if (userFunc)
return userFunc;
@ -1211,7 +1211,7 @@ dsql_prc* METD_get_procedure(jrd_tra* transaction, DsqlCompilerScratch* dsqlScra
}
if (procedure && (procedure->prc_flags & PRC_dropped))
procedure = nullptr;
procedure = NULL;
if (procedure)
return procedure;