diff options
author | Ron Yorston <rmy@pobox.com> | 2024-05-15 08:27:18 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-05-15 08:27:18 +0100 |
commit | f1fc5ab9d6980b88eede93051736305408774122 (patch) | |
tree | 7f10c174d2a69cb5f2a6edd68f95acaaee9d51df /win32/process.c | |
parent | 4e0359ce93c4b0185c5340d03be505b609417b04 (diff) | |
download | busybox-w32-f1fc5ab9d6980b88eede93051736305408774122.tar.gz busybox-w32-f1fc5ab9d6980b88eede93051736305408774122.tar.bz2 busybox-w32-f1fc5ab9d6980b88eede93051736305408774122.zip |
win32: code shrink
Saves 16-32 bytes
Diffstat (limited to '')
-rw-r--r-- | win32/process.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/win32/process.c b/win32/process.c index 8931eae2e..9dd4bc1db 100644 --- a/win32/process.c +++ b/win32/process.c | |||
@@ -605,8 +605,6 @@ UNUSED_PARAM | |||
605 | free(sp); | 605 | free(sp); |
606 | return NULL; | 606 | return NULL; |
607 | } | 607 | } |
608 | sp->pids = xmalloc(sizeof(unsigned) * NPIDS); | ||
609 | sp->maxpids = NPIDS; | ||
610 | ret = Process32First(sp->snapshot, &pe); | 608 | ret = Process32First(sp->snapshot, &pe); |
611 | } | 609 | } |
612 | else { | 610 | else { |