aboutsummaryrefslogtreecommitdiff
path: root/debianutils/mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils/mktemp.c')
-rw-r--r--debianutils/mktemp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/debianutils/mktemp.c b/debianutils/mktemp.c
index 7f60ca234..983d7a246 100644
--- a/debianutils/mktemp.c
+++ b/debianutils/mktemp.c
@@ -94,11 +94,7 @@ int mktemp_main(int argc UNUSED_PARAM, char **argv)
94 94
95 if (opts & OPT_u) { 95 if (opts & OPT_u) {
96 chp = mktemp(chp); 96 chp = mktemp(chp);
97#if !ENABLE_PLATFORM_MINGW32
98 if (chp[0] == '\0') 97 if (chp[0] == '\0')
99#else
100 if (chp == NULL || chp[0] == '\0')
101#endif
102 goto error; 98 goto error;
103 } else if (opts & OPT_d) { 99 } else if (opts & OPT_d) {
104 if (mkdtemp(chp) == NULL) 100 if (mkdtemp(chp) == NULL)