From 3bdaac290b19a1b67da7bff9615dbd5918b1c1c6 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Tue, 9 Jun 2020 17:32:46 -0700
Subject: [PATCH] Initialize %GITFOUND%

---
 compile.bat                   | 1 +
 compile_debug+sanityCheck.bat | 1 +
 2 files changed, 2 insertions(+)

diff --git a/compile.bat b/compile.bat
index b92a3b4563a..b9ab588997b 100644
--- a/compile.bat
+++ b/compile.bat
@@ -7,6 +7,7 @@ pushd %~dp0
 :: See if we can find a git installation
 setlocal enabledelayedexpansion
 
+set GITFOUND=no
 for %%k in (HKCU HKLM) do (
 	for %%w in (\ \Wow6432Node\) do (
 		for /f "skip=2 delims=: tokens=1*" %%a in ('reg query "%%k\SOFTWARE%%wMicrosoft\Windows\CurrentVersion\Uninstall\Git_is1" /v InstallLocation 2^> nul') do (
diff --git a/compile_debug+sanityCheck.bat b/compile_debug+sanityCheck.bat
index 020e5c1e255..0eb2efb2b96 100644
--- a/compile_debug+sanityCheck.bat
+++ b/compile_debug+sanityCheck.bat
@@ -7,6 +7,7 @@ pushd %~dp0
 :: See if we can find a git installation
 setlocal enabledelayedexpansion
 
+set GITFOUND=no
 for %%k in (HKCU HKLM) do (
 	for %%w in (\ \Wow6432Node\) do (
 		for /f "skip=2 delims=: tokens=1*" %%a in ('reg query "%%k\SOFTWARE%%wMicrosoft\Windows\CurrentVersion\Uninstall\Git_is1" /v InstallLocation 2^> nul') do (
-- 
GitLab