Skip to content

Commit 8e0d9e3

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 075ee21 commit 8e0d9e3

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
@@ -564,7 +564,7 @@ int mingw_unlink(const char *pathname, int handle_in_use_error)
564564
return 0;
565565

566566
if (!handle_in_use_error)
567-
return ret;
567+
return -1;
568568
} while (retry_ask_yes_no(&tries, "Unlink of file '%s' failed. "
569569
"Should I try again?", pathname));
570570
return -1;

0 commit comments

Comments
 (0)