int
main (int argc, char **argv)
{
- int ncomps;
char *cp, *form = NULL, *format = NULL;
char buf[BUFSIZ], *nfs, **argp, **arguments;
struct format *fmt;
* 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);
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];
context_read();
mts_init (invo_name);
- uid = getuid ();
user = getusername();
arguments = getarguments (invo_name, argc, argv, 1);
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;