From e7c16927f1b26641a2516c42e690cfe64451309f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 15 Feb 2011 12:43:46 -0800 Subject: [PATCH] getloadavg: omit unused var * lib/getloadavg.c (getloadavg): Omit unused local variable. --- ChangeLog | 5 +++++ lib/getloadavg.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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++; -- 2.30.2