mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:43:03 +01:00
Fix possible minor problem in debug version
This commit is contained in:
parent
996d8d9709
commit
9252c03bcb
@ -1228,7 +1228,7 @@ void API_ROUTINE gds__log_status(const TEXT* database,
|
||||
return;
|
||||
|
||||
#ifdef DEV_BUILD
|
||||
const size_t db_len = strlen(database);
|
||||
const size_t db_len = database ? strlen(database) : 0;
|
||||
fb_assert(db_len < BUFFER_XLARGE - 2);
|
||||
fb_assert(db_len < MAXPATHLEN);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user