summaryrefslogtreecommitdiff
path: root/win32/perllib.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/perllib.c')
-rw-r--r--win32/perllib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/perllib.c b/win32/perllib.c
index 4e4c113964..4aeb7413da 100644
--- a/win32/perllib.c
+++ b/win32/perllib.c
@@ -167,7 +167,6 @@ RunPerl(int argc, char **argv, char **env)
* want to free() argv after main() returns. As luck would have it,
* Borland's CRT does the right thing to argv[0] already. */
char szModuleName[MAX_PATH];
- char *ptr;
GetModuleFileName(NULL, szModuleName, sizeof(szModuleName));
(void)win32_longpath(szModuleName);