From 9e1f6d6d4c2e154c7274e7fb3f1931924e458b17 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 26 Feb 2012 10:10:35 -0600 Subject: [PATCH] Changed type of a local to unsigned and removed local ncomps to suppress compile warnings. --- uip/forwsbr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uip/forwsbr.c b/uip/forwsbr.c index a3bc42e..20879ec 100755 --- a/uip/forwsbr.c +++ b/uip/forwsbr.c @@ -26,7 +26,8 @@ build_form (char *form, char *digest, int *dat, char *from, char *to, char *cc, char *fcc, char *subject, char *inputfile) { int in; - int i, fmtsize, ncomps, state, char_read = 0; + int fmtsize, state, char_read = 0; + unsigned i; register char *nfs; char *line, tmpfil[BUFSIZ], name[NAMESZ]; FILE *tmp; @@ -46,7 +47,7 @@ build_form (char *form, char *digest, int *dat, char *from, char *to, fmtsize = strlen (nfs) + 256; /* Compile format string */ - ncomps = fmt_compile (nfs, &fmt); + (void) fmt_compile (nfs, &fmt); /* * Process our message and save all relevant components -- 1.7.10.4