From: Paul Eggert Date: Tue, 15 Feb 2011 20:43:46 +0000 (-0800) Subject: getloadavg: omit unused var X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7c16927f1b26641a2516c42e690cfe64451309f;p=pspp getloadavg: omit unused var * lib/getloadavg.c (getloadavg): Omit unused local variable. --- diff --git a/ChangeLog b/ChangeLog index 8e14a2be81..3e0378c4a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-02-15 Paul Eggert + + getloadavg: omit unused var + * lib/getloadavg.c (getloadavg): Omit unused local variable. + 2011-02-15 Jim Meyering doc: update users.txt diff --git a/lib/getloadavg.c b/lib/getloadavg.c index 96a6aa4d49..29c9bfff00 100644 --- a/lib/getloadavg.c +++ b/lib/getloadavg.c @@ -620,7 +620,6 @@ getloadavg (double loadavg[], int nelem) { double numerator = 0; double denominator = 1; - bool have_digit = false; while (*ptr == ' ') ptr++;