From c71a5f08b90341a8af5ed4144b46e0426a470a42 Mon Sep 17 00:00:00 2001 From: Cary R Date: Fri, 24 Sep 2010 13:13:42 -0700 Subject: [PATCH] Fix MinGW specific shadow warning. This patch removes a MinGW specifc shadow warning. --- driver/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/driver/main.c b/driver/main.c index b966235d1..42505991f 100644 --- a/driver/main.c +++ b/driver/main.c @@ -777,10 +777,10 @@ int main(int argc, char **argv) turning the last two \ characters to null. Then we append the lib\ivl$(suffix) to finish. */ { char *s; - char basepath[4096], tmp[4096]; - GetModuleFileName(NULL, tmp, sizeof tmp); + char basepath[4096], tmppath[4096]; + GetModuleFileName(NULL, tmppath, sizeof tmppath); /* Convert to a short name to remove any embedded spaces. */ - GetShortPathName(tmp, basepath, sizeof basepath); + GetShortPathName(tmppath, basepath, sizeof basepath); strncpy(ivl_root, basepath, MAXSIZE); ivl_root[MAXSIZE-1] = 0; s = strrchr(ivl_root, sep);