X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a30e7865b46712fe346d8a91894ab68aac664901..75a98caa3dddfc3276b9506d04a82014bd732e74:/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; }