mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:03:02 +01:00
Fix warning.
This commit is contained in:
parent
106a493d50
commit
09deb7b96e
@ -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++;
|
||||
ERR_post(Arg::Gds(isc_num_old_files));
|
||||
break;
|
||||
|
||||
case isc_dpb_wal_chkptlen:
|
||||
|
Loading…
Reference in New Issue
Block a user