zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Misc. compile warnings
Date: Mon, 29 Sep 2014 14:01:17 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LRH.2.00.1409291356010.698@toltec.zanshin.com> (raw)

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 };


             reply	other threads:[~2014-09-29 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29 21:01 Bart Schaefer [this message]
2014-09-30  8:53 ` Peter Stephenson
2014-10-29 14:09   ` Jun T.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LRH.2.00.1409291356010.698@toltec.zanshin.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).