remove the unnecessary code
authorAkira TAGOH <akira@tagoh.org>
Wed, 23 Jan 2013 03:37:51 +0000 (12:37 +0900)
committerAkira TAGOH <akira@tagoh.org>
Wed, 23 Jan 2013 03:37:51 +0000 (12:37 +0900)
src/fccompat.c

index 0a9c135..a217160 100644 (file)
@@ -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;