summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-04-15 12:15:46 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-04-15 14:34:18 (GMT)
commitea45426ab6942d3deb736ee429ae7bc4ae8713e5 (patch)
tree14c7dea43c6d748b802662dd947951fcdb177291 /src/corelib/io
parentd07207c2fe77f5c4f732dddc34c0089f1e6b9f1d (diff)
downloadQt-ea45426ab6942d3deb736ee429ae7bc4ae8713e5.zip
Qt-ea45426ab6942d3deb736ee429ae7bc4ae8713e5.tar.gz
Qt-ea45426ab6942d3deb736ee429ae7bc4ae8713e5.tar.bz2
Silence warning about unused static function on Windows
Reviewed-by: mariusSO
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qtemporaryfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qtemporaryfile.cpp b/src/corelib/io/qtemporaryfile.cpp
index 3cfce83..6a7b067 100644
--- a/src/corelib/io/qtemporaryfile.cpp
+++ b/src/corelib/io/qtemporaryfile.cpp
@@ -268,11 +268,13 @@ static int _gettemp(char *path, int *doopen, int domkdir, int slen)
/*NOTREACHED*/
}
+#ifndef Q_WS_WIN
static int qt_mkstemps(char *path, int slen)
{
int fd = 0;
return (_gettemp(path, &fd, 0, slen) ? fd : -1);
}
+#endif
//************* QTemporaryFileEngine
class QTemporaryFileEngine : public QFSFileEngine