remove the unnecessary code

This commit is contained in:
Akira TAGOH 2013-01-23 12:37:51 +09:00
parent 5400bb4fb4
commit fb3b410998
1 changed files with 0 additions and 6 deletions

View File

@ -160,12 +160,6 @@ FcMakeTempfile (char *template)
if (_mktemp_s(template, strlen(template) + 1) != 0) if (_mktemp_s(template, strlen(template) + 1) != 0)
return -1; return -1;
fd = FcOpen(template, O_RDWR | O_EXCL | O_CREAT, 0600); 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 #endif
return fd; return fd;