Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Misc. compile warnings
- X-seq: zsh-workers 33288
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Misc. compile warnings
- Date: Mon, 29 Sep 2014 14:01:17 -0700 (PDT)
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Reply-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
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 };
Messages sorted by:
Reverse Date,
Date,
Thread,
Author