cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs/src client.c


From: Derek Robert Price
Subject: [Cvs-cvs] ccvs/src client.c
Date: Thu, 04 May 2006 16:49:03 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         
Changes by:     Derek Robert Price <address@hidden>     06/05/04 16:49:03

Modified files:
        src            : client.c 

Log message:
        * client.c (send_file_names): Suppress compiler warning.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/src/client.c.diff?tr1=1.448&tr2=1.449&r1=text&r2=text

Patches:
Index: ccvs/src/client.c
diff -u ccvs/src/client.c:1.448 ccvs/src/client.c:1.449
--- ccvs/src/client.c:1.448     Thu May  4 15:38:12 2006
+++ ccvs/src/client.c   Thu May  4 16:49:03 2006
@@ -5833,7 +5833,7 @@
 
            /* Normalize the path into outstr. */
            save_cwd (&sdir);
-           while ((q = pop (stack)))
+           while ((q = pop (stack)) != NULL)
            {
                Node *node = NULL;
                if (isdir (CVSADM))
@@ -5881,7 +5881,7 @@
            free_cwd (&sdir);
 
            /* Now put everything we didn't find entries for back on. */
-           while ((q = pop (stack)))
+           while ((q = pop (stack)) != NULL)
            {
                if (line_len)
                    xrealloc_and_strcat (&line, &line_len, "/");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]