Skip to content

Commit 27ae7e2

Browse files
committed
fixup! Git wrapper: allow overriding what executable is called
Avoid double initialization, pointed out by Eli Young. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 2113021 commit 27ae7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/win32/git-wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static int configure_via_resource(LPWSTR basename, LPWSTR exepath, LPWSTR exep,
189189
int *is_git_command, LPWSTR *working_directory, int *full_path,
190190
int *skip_arguments, int *allocate_console)
191191
{
192-
int id = 0, minimal_search_path, needs_a_console, wargc;
192+
int id, minimal_search_path, needs_a_console, wargc;
193193
LPWSTR *wargv;
194194

195195
#define BUFSIZE 65536

0 commit comments

Comments
 (0)