bug-global
[Top][All Lists]
Advanced

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

Re: [PATCH] fix warning


From: Shigio Yamaguchi
Subject: Re: [PATCH] fix warning
Date: Sun, 16 Feb 2003 15:53:39 +0900

Committed.
Thank you!

> gtags.c: In function `main':
> gtags.c:340: warning: comparison between pointer and integer
> 
> ? gtags/.deps
> ? gtags/Makefile
> ? gtags/Makefile.in
> ? gtags/const.h
> ? gtags/gtags
> ? gtags/gtags.1
> Index: gtags/gtags.c
> ===================================================================
> RCS file: /cvsroot/global/global/gtags/gtags.c,v
> retrieving revision 1.58
> diff -u -r1.58 gtags.c
> --- gtags/gtags.c     15 Sep 2002 06:31:24 -0000      1.58
> +++ gtags/gtags.c     16 Feb 2003 06:07:44 -0000
> @@ -337,7 +337,7 @@
>                               putc(*p, stdout);
>                       for (q = ++p; *q && *q != ' '; q++)
>                               ;
> -                     if (*q == NULL) {
> +                     if (*q == '\0') {
>                               printf("%s: ERROR(2): %s", progname, strbuf_val
ue(ib));
>                               continue;
>                       }
> 
> ----
> Hideki IWAMOTO  address@hidden
> 
> 
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-global
> 
> 
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3





reply via email to

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