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

Fix scope problem in DEV_BUILD

This commit is contained in:
asfernandes 2009-07-05 00:25:07 +00:00
parent 04f7fa3303
commit bf1e2c3a72

View File

@ -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))