Skip to content

Commit b8f1ef1

Browse files
committed
fixup??? Win32: factor out retry logic
Cannot return `ret` as it no longer is defined. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 074794a commit b8f1ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)