zsh-workers
 help / color / mirror / code / Atom feed
* Misc. compile warnings
@ 2014-09-29 21:01 Bart Schaefer
  2014-09-30  8:53 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2014-09-29 21:01 UTC (permalink / raw)
  To: zsh-workers

Just upgraded Mavericks and am seeing some compile warnings I don't recall
having encountered before:

compctl.c:3419:11: warning: expression which evaluates to zero treated as a null
      pointer constant of type 'char *' [-Wnon-literal-null-conversion]
                        *npp = '\0';
                               ^~~~

zle_refresh.c:432:13: warning: expression which evaluates to zero treated as a
      null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
    *arrp = '\0';
            ^~~~
zle_refresh.c:261:30: warning: unused variable 'zr_ht' [-Wunused-const-variable]
static const REFRESH_ELEMENT zr_ht = { ZWC('\t'), 0 };


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-29 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29 21:01 Misc. compile warnings Bart Schaefer
2014-09-30  8:53 ` Peter Stephenson
2014-10-29 14:09   ` Jun T.

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).