It's the non-zero value of atoi(3) that's important in the if-condition;
the value is never used again.
int
main (int argc, char **argv)
{
- int msgp = 0, distsw = 0, vecp;
+ int msgp = 0, vecp;
int isdf = 0, mime = 0;
int msgnum, status;
char *cp, *dfolder = NULL, *maildir = NULL;
if ((cp = getenv ("mhdist"))
&& *cp
- && (distsw = atoi (cp))
+ && atoi(cp)
&& altmsg) {
vec[vecp++] = "-dist";
if ((cp = m_mktemp2(altmsg, invo_name, NULL, NULL)) == NULL) {
int snoop = 0;
struct stat st;
-#ifndef lint
- int distsw = 0;
-#endif
-
/*
* Make sure these are defined. In particular, we need
* savearg[1] to be NULL, in case "arg" is NULL below. It
if ((cp = getenv ("mhdist"))
&& *cp
#ifndef lint
- && (distsw = atoi (cp))
+ && atoi(cp)
#endif /* not lint */
&& altmsg) {
vec[vecp++] = "-dist";