summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2013-01-23 12:37:51 +0900
committerAkira TAGOH <akira@tagoh.org>2013-01-23 12:37:51 +0900
commitfb3b410998aba8835999e2ca7003a180431cfaf4 (patch)
treeb5778e2ca82a6689e21cf52ef89ab91908647291
parent5400bb4fb43dc811b813f11d5b0c023db727f543 (diff)
downloadfontconfig-fb3b410998aba8835999e2ca7003a180431cfaf4.tar.gz
remove the unnecessary code
-rw-r--r--src/fccompat.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fccompat.c b/src/fccompat.c
index 0a9c135..a217160 100644
--- a/src/fccompat.c
+++ b/src/fccompat.c
@@ -160,12 +160,6 @@ FcMakeTempfile (char *template)
if (_mktemp_s(template, strlen(template) + 1) != 0)
return -1;
fd = FcOpen(template, O_RDWR | O_EXCL | O_CREAT, 0600);
-#else
- /* warn at the runtime for just debugging purpose why something may
- * goes wrong. mingw may not have one, but it shouldn't be reached since
- * this function isn't used so far.
- */
- fprintf(stderr, "Fontconfig warning: No secure functions to create a temporary file\n");
#endif
return fd;