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

Fix warning.

This commit is contained in:
Adriano dos Santos Fernandes 2022-11-25 22:06:32 -03:00
parent 106a493d50
commit 09deb7b96e

View File

@ -6843,8 +6843,6 @@ void DatabaseOptions::get(const UCHAR* dpb, USHORT dpb_length, bool& invalid_cli
* Parse database parameter block picking up options and things.
*
**************************************/
SSHORT num_old_files = 0;
dpb_buffers = 0;
dpb_sweep_interval = -1;
dpb_overwrite = false;
@ -6951,10 +6949,7 @@ void DatabaseOptions::get(const UCHAR* dpb, USHORT dpb_length, bool& invalid_cli
break;
case isc_dpb_old_file:
//if (num_old_files >= MAX_OLD_FILES) complain here, for now.
ERR_post(Arg::Gds(isc_num_old_files));
// following code is never executed now !
num_old_files++;
break;
case isc_dpb_wal_chkptlen: