mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Fix scope problem in DEV_BUILD
This commit is contained in:
parent
04f7fa3303
commit
bf1e2c3a72
@ -1181,7 +1181,9 @@ static int raw_devices_unlink_database(const PathName& file_name)
|
||||
|
||||
memset(header, 0xa5, sizeof(header));
|
||||
|
||||
for (int i = 0; i < IO_RETRY; i++)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < IO_RETRY; i++)
|
||||
{
|
||||
const ssize_t bytes = write (desc, header, sizeof(header));
|
||||
if (bytes == sizeof(header))
|
||||
|
Loading…
Reference in New Issue
Block a user