X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6fc2909634fb431c65ecfa8b6db4f6519f99b389..4ac9784480441d2bebe8a2ad9584165bbf2ee345:/uip/mkstemp.c diff --git a/uip/mkstemp.c b/uip/mkstemp.c index 259c3edd..f4215c08 100644 --- a/uip/mkstemp.c +++ b/uip/mkstemp.c @@ -109,10 +109,10 @@ build_template(const char *directory, const char *prefix, const char *suffix) { template[len-1] = '\0'; return template; - } else { - perror("malloc"); - return NULL; } + + perror("malloc"); + return NULL; }