NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/44795: Remove unused variable.



>Number:         44795
>Category:       bin
>Synopsis:       Remove unused variable.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 30 12:15:00 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Remove unused variable in make/util.c.
>How-To-Repeat:

>Fix:
diff -u -r1.50 util.c
--- usr.bin/make/util.c 3 Jun 2010 15:40:16 -0000       1.50
+++ usr.bin/make/util.c 30 Mar 2011 11:01:18 -0000
@@ -46,7 +46,7 @@
 findenv(const char *name, int *offset)
 {
        size_t i, len;
-       char *p, *q;
+       char *q;
 
        for (i = 0; (q = environ[i]); i++) {
                char *p = strchr(q, '=');



Home | Main Index | Thread Index | Old Index