Fix warnings (some bugs, some spurious)
Many spurious VC warnings not quieted though.
This commit is contained in:
@@ -619,7 +619,7 @@ mk_temp(const char *fn, char **tfn)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (p = strrchr(ds, '\\') == NULL) {
|
||||
if ((p = strrchr(ds, '\\')) == NULL) {
|
||||
ret = asprintf(tfn, ".%s-XXXXXX", ds); /* XXX can't happen */
|
||||
} else {
|
||||
*(p++) = '\0';
|
||||
|
Reference in New Issue
Block a user