[Pkg-wmaker-commits] [wmbiff] 15/16: compiler warning appeasement (shadowing index)
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:02:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_13
in repository wmbiff.
commit 357d6295624cbc9b72d397510089e81f24cf0657
Author: bluehal <bluehal>
Date: Sat Jan 25 04:33:24 2003 +0000
compiler warning appeasement (shadowing index)
---
wmgeneral/list.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmgeneral/list.c b/wmgeneral/list.c
index 14f5ee8..2366b0d 100644
--- a/wmgeneral/list.c
+++ b/wmgeneral/list.c
@@ -63,9 +63,9 @@ INLINE int list_length(LinkedList * list)
/* Return the Nth element of LIST, where N count from zero. If N
larger than the list length, NULL is returned */
-INLINE void *list_nth(int index, LinkedList * list)
+INLINE void *list_nth(int idx, LinkedList * list)
{
- while (index-- != 0) {
+ while (idx-- != 0) {
if (list->tail)
list = list->tail;
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list