BUGFIX to list-length code: classical case of uninitialized variable.

This commit is contained in:
Cas Cremers 2012-11-22 12:26:01 +01:00
parent fedd729ab2
commit 25da320128

View File

@ -281,6 +281,7 @@ list_length (List list)
{ {
int n; int n;
n = 0;
while (list != NULL) while (list != NULL)
{ {
n++; n++;