Skip to content

Commit d94871d

Browse files
committed
fixup??? Win32: factor out retry logic
Cannot return `ret` as it no longer is defined. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 32edabb commit d94871d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compat/mingw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ int mingw_unlink(const char *pathname, int handle_in_use_error)
557557
return 0;
558558

559559
if (!handle_in_use_error)
560-
return ret;
560+
return -1;
561561
} while (retry_ask_yes_no(&tries, "Unlink of file '%s' failed. "
562562
"Should I try again?", pathname));
563563
return -1;

0 commit comments

Comments
 (0)