[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated
From: |
David Levine |
Subject: |
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. e7781fb39d2ad428d0d0c779ed141281d75476dd |
Date: |
Sun, 11 Dec 2011 16:26:06 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".
The branch, master has been updated
via e7781fb39d2ad428d0d0c779ed141281d75476dd (commit)
from b5ba1be476f2f67ef35ae5766c6a215d44dcd295 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=e7781fb39d2ad428d0d0c779ed141281d75476dd
commit e7781fb39d2ad428d0d0c779ed141281d75476dd
Author: David Levine <address@hidden>
Date: Sun Dec 11 10:24:20 2011 -0600
Removed unused local variables to eliminate warnings from gcc 4.6.2.
diff --git a/uip/fmtdump.c b/uip/fmtdump.c
index fff4502..2abf05e 100644
--- a/uip/fmtdump.c
+++ b/uip/fmtdump.c
@@ -45,7 +45,6 @@ static void litputc(char);
int
main (int argc, char **argv)
{
- int ncomps;
char *cp, *form = NULL, *format = NULL;
char buf[BUFSIZ], *nfs, **argp, **arguments;
struct format *fmt;
@@ -101,7 +100,7 @@ main (int argc, char **argv)
* Get new format string. Must be before chdir().
*/
nfs = new_fs (form, format, FORMAT);
- ncomps = fmt_compile(nfs, &fmt);
+ (void) fmt_compile(nfs, &fmt);
fmt_dump(fmt);
done(0);
diff --git a/uip/msgchk.c b/uip/msgchk.c
index 9b56649..c7f32f5 100644
--- a/uip/msgchk.c
+++ b/uip/msgchk.c
@@ -96,7 +96,6 @@ main (int argc, char **argv)
int datesw = 1, notifysw = NT_ALL;
int status = 0, sasl = 0;
int snoop = 0, vecp = 0;
- uid_t uid;
char *cp, *host = NULL, *port = NULL, *user, *proxy = NULL;
char buf[BUFSIZ], *saslmech = NULL;
char **argp, **arguments, *vec[MAXVEC];
@@ -116,7 +115,6 @@ main (int argc, char **argv)
context_read();
mts_init (invo_name);
- uid = getuid ();
user = getusername();
arguments = getarguments (invo_name, argc, argv, 1);
diff --git a/uip/post.c b/uip/post.c
index d5760a2..cd96ed7 100644
--- a/uip/post.c
+++ b/uip/post.c
@@ -1309,16 +1309,13 @@ make_bcc_file (int dashstuff)
static int
find_prefix (void)
{
- int len, result;
+ int result = OK;
unsigned char buffer[BUFSIZ];
FILE *in;
if ((in = fopen (tmpfil, "r")) == NULL)
adios (tmpfil, "unable to re-open");
- len = strlen (prefix);
-
- result = OK;
while (fgets (buffer, sizeof(buffer) - 1, in))
if (buffer[0] == '-' && buffer[1] == '-') {
unsigned char *cp;
-----------------------------------------------------------------------
Summary of changes:
uip/fmtdump.c | 3 +--
uip/msgchk.c | 2 --
uip/post.c | 5 +----
3 files changed, 2 insertions(+), 8 deletions(-)
hooks/post-receive
--
The nmh Mail Handling System
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. e7781fb39d2ad428d0d0c779ed141281d75476dd,
David Levine <=