widl: Update the relocatability patch to remove an unused variable
The patch removes the only use of the variable i here, thus remove
it to get rid of one build time warning.
Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-tools/widl/patches/0001-relocatable.patch b/mingw-w64-tools/widl/patches/0001-relocatable.patch
index 84f3058..a0406ea 100644
--- a/mingw-w64-tools/widl/patches/0001-relocatable.patch
+++ b/mingw-w64-tools/widl/patches/0001-relocatable.patch
@@ -1,5 +1,5 @@
diff --git a/mingw-w64-tools/widl/src/widl.c b/mingw-w64-tools/widl/src/widl.c
-index a99eed4e..38b9d864 100644
+index a99eed4e9..69cb4b628 100644
--- a/mingw-w64-tools/widl/src/widl.c
+++ b/mingw-w64-tools/widl/src/widl.c
@@ -42,6 +42,7 @@
@@ -10,6 +10,15 @@
static const char usage[] =
"Usage: widl [options...] infile.idl\n"
+@@ -596,7 +597,7 @@ static void init_argv0_dir( const char *argv0 )
+
+ int main(int argc,char *argv[])
+ {
+- int i, optc;
++ int optc;
+ int ret = 0;
+ int opti = 0;
+ char *output_name = NULL;
@@ -772,19 +773,12 @@ int main(int argc,char *argv[])
if (stdinc)
diff --git a/mingw-w64-tools/widl/src/widl.c b/mingw-w64-tools/widl/src/widl.c
index 38b9d86..69cb4b6 100644
--- a/mingw-w64-tools/widl/src/widl.c
+++ b/mingw-w64-tools/widl/src/widl.c
@@ -597,7 +597,7 @@
int main(int argc,char *argv[])
{
- int i, optc;
+ int optc;
int ret = 0;
int opti = 0;
char *output_name = NULL;