diff options
author | Martyn Russell <martyn@lanedo.com> | 2012-06-07 19:19:49 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-06-12 12:08:33 +0100 |
commit | d2a02df2f9725a1884131c0ab415a2b122a44420 (patch) | |
tree | fade00529acc02169c224d871b110577694b95f9 /dmake/unix/runargv.c | |
parent | 4019acf2974b58210ffc1b1975720553e7b5d337 (diff) |
cppcheck: Avoid unused variables code warnings
Change-Id: I51ba83c5356f2eb33ed09f6516de9f004678bc8f
Diffstat (limited to 'dmake/unix/runargv.c')
-rw-r--r-- | dmake/unix/runargv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dmake/unix/runargv.c b/dmake/unix/runargv.c index 0e41c180f744..4a98254240aa 100644 --- a/dmake/unix/runargv.c +++ b/dmake/unix/runargv.c @@ -844,8 +844,6 @@ int pqid; PUBLIC void Clean_up_processes() { - int ret; - if( _procs != NIL(PR) ) { register int i; @@ -853,6 +851,7 @@ Clean_up_processes() if( _procs[i].pr_valid ) { #if !defined(USE_CREATEPROCESS) + int ret; if( (ret = kill(_procs[i].pr_pid, SIGTERM)) ) { fprintf(stderr, "Killing of pid %d from pq[%d] failed with: %s - %d ret: %d\n", |