summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2007-01-05 09:45:08 +0000
committerSteve Hay <SteveHay@planit.com>2007-01-05 09:45:08 +0000
commit85c508c327bae6947de518a0ae05de3f08986372 (patch)
tree1ec76315d5ad02feade8d6efe6b06b5f8877c09f /win32/win32.c
parenta951d81d1408c83245c2beba7e057583534f618e (diff)
downloadperl-85c508c327bae6947de518a0ae05de3f08986372.tar.gz
Silence various VC6 warnings
p4raw-id: //depot/perl@29692
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 562dc0bcd8..e2c553b27f 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1304,7 +1304,6 @@ DllExport int
win32_kill(int pid, int sig)
{
dTHX;
- HANDLE hProcess;
long child;
#ifdef USE_ITHREADS
if (pid < 0) {
@@ -1312,7 +1311,7 @@ win32_kill(int pid, int sig)
child = find_pseudo_pid(-pid);
if (child >= 0) {
HWND hwnd = w32_pseudo_child_message_hwnds[child];
- hProcess = w32_pseudo_child_handles[child];
+ HANDLE hProcess = w32_pseudo_child_handles[child];
switch (sig) {
case 0:
/* "Does process exist?" use of kill */