From: Wayne Davison <wayned@users.sourceforge.net>
To: Zsh Workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: fix compiler warnings
Date: Mon, 9 Apr 2001 13:25:35 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.30.0104091319170.28864-100000@phong.blorf.net> (raw)
In-Reply-To: <Pine.LNX.4.30.0104091303510.28864-200000@phong.blorf.net>
On Mon, 9 Apr 2001, Wayne Davison wrote:
> The attached patch fixes [...] two warnings about static variables
> that were defined but never used
Sigh. Bart's unposted change made one of the variables necessary in
the HAVE_TIGETSTR case, but I checked my change in before recompiling.
(Bad! Bad Wayne!) I've fixed this in CVS. The change looks like
this:
Index: Src/Modules/terminfo.c
@@ -30,10 +30,11 @@
#include "terminfo.mdh"
#include "terminfo.pro"
+static char terminfo_nam[] = "terminfo";
+
/**/
#ifdef HAVE_TIGETSTR
-static char terminfo_nam[] = "terminfo";
static Param terminfo_pm;
/* echoti: output a terminfo capability */
..wayne..
prev parent reply other threads:[~2001-04-09 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-09 20:12 Wayne Davison
2001-04-09 20:25 ` Wayne Davison [this message]
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=Pine.LNX.4.30.0104091319170.28864-100000@phong.blorf.net \
--to=wayned@users.sourceforge.net \
--cc=zsh-workers@sunsite.auc.dk \
/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).