rem: if (buf) *buf = 0;  putdef(line, " -I", tmp);
add: if (buf) { *buf = 0;  putdef(line, " -I", tmp); }
context: MakeCPPArgs(char *path){    int i;    char buffer[MAXLINE], *buf, *line;    Visual *visual;    char *tmp;        line = wmalloc(MAXLINE);    *line = 0;    i=1;    if ((buf=getenv("HOSTNAME"))!=NULL) {	if (buf[0]=='(') {	    wwarning(_("your machine is misconfigured. HOSTNAME is set to %s"),		     buf);	} else 	  putdef(line, " -DHOST=", buf);    } else if ((buf=getenv("HOST"))!=NULL) {	if (buf[0]=='(') {	    wwarning(_("your machine is misconfigured. HOST is set to %s"),		     buf);	} else 	  putdef(line, " -DHOST=", buf);    }    buf = username();    if (buf)      putdef(line, " -DUSER=", buf);    putidef(line, " -DUID=", getuid());    buf = XDisplayName(DisplayString(dpy));    putdef(line, " -DDISPLAY=", buf);    putdef(line, " -DWM_VERSION=", VERSION);        visual = DefaultVisual(dpy, DefaultScreen(dpy));    putidef(line, " -DVISUAL=", visual->class);        putidef(line, " -DDEPTH=", DefaultDepth(dpy, DefaultScreen(dpy)));    putidef(line, " -DSCR_WIDTH=", WidthOfScreen(DefaultScreenOfDisplay(dpy)));    putidef(line, " -DSCR_HEIGHT=", 	    HeightOfScreen(DefaultScreenOfDisplay(dpy)));    /* put the dir where the menu is being read from to the     * search path */    if (path) {	tmp = wstrdup(path);	buf = strrchr(tmp, '/');	if (buf) *buf = 0; /* trunc filename */	putdef(line, " -I", tmp);	free(tmp);    }    /* this should be done just once, but it works this way */    strcpy(buffer, DEF_CONFIG_PATHS);    buf = strtok(buffer, ":");    do {      char fullpath[MAXLINE];      if (buf[0]!='~') {	strcpy(fullpath, buf);      } else {	char * wgethomedir();	/* home is statically allocated. Don't free it! */	char *home = wgethomedir();		strcpy(fullpath, home);	strcat(fullpath, &(buf[1]));      }      putdef(line, " -I", fullpath);    } while ((buf = strtok(NULL, ":"))!=NULL);    #undef arg#ifdef DEBUG    puts("CPP ARGS");    puts(line);#endif    return line;}