Added a comment to a shared iterator to avoid a warning from IBM's checker.
authorWayne Davison <wayned@samba.org>
Tue, 22 May 2007 05:58:59 +0000 (05:58 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 22 May 2007 05:58:59 +0000 (05:58 +0000)
hlink.c
lib/wildmatch.c

diff --git a/hlink.c b/hlink.c
index 25a7ed3..40d1539 100644 (file)
--- a/hlink.c
+++ b/hlink.c
@@ -225,7 +225,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count)
        for (from = 0; from < ndx_count; from++) {
                for (file = cur_flist->sorted[ndx_list[from]], gnum = F_HL_GNUM(file), prev = -1;
                     from < ndx_count-1;
-                    file = file_next, gnum = gnum_next, from++)
+                    file = file_next, gnum = gnum_next, from++) /*SHARED ITERATOR*/
                {
                        file_next = cur_flist->sorted[ndx_list[from+1]];
                        gnum_next = F_HL_GNUM(file_next);
index 4b54864..f3a1731 100644 (file)
@@ -165,7 +165,7 @@ static int dowild(const uchar *p, const uchar *text, const uchar*const *a)
                } else if (p_ch == '[' && p[1] == ':') {
                    const uchar *s;
                    int i;
-                   for (s = p += 2; (p_ch = *p) && p_ch != ']'; p++) {}
+                   for (s = p += 2; (p_ch = *p) && p_ch != ']'; p++) {} /*SHARED ITERATOR*/
                    if (!p_ch)
                        return ABORT_ALL;
                    i = p - s - 1;