projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
665d45c
)
getloadavg: omit unused var
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 15 Feb 2011 20:43:46 +0000
(12:43 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 15 Feb 2011 20:43:46 +0000
(12:43 -0800)
* lib/getloadavg.c (getloadavg): Omit unused local variable.
ChangeLog
patch
|
blob
|
history
lib/getloadavg.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 8e14a2be814d173551875297515c3bee8f8e270e..3e0378c4a406164adceff9740fb663f5cf8f143f 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2011-02-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ getloadavg: omit unused var
+ * lib/getloadavg.c (getloadavg): Omit unused local variable.
+
2011-02-15 Jim Meyering <meyering@redhat.com>
doc: update users.txt
diff --git
a/lib/getloadavg.c
b/lib/getloadavg.c
index 96a6aa4d49cec91b8b5843ef4a2c4b6bb9d207f9..29c9bfff00fa7dfc22eca4064ace042fae27e333 100644
(file)
--- 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++;