diff options
author | João Abecasis <joao@abecasis.name> | 2009-04-15 12:15:46 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-04-15 14:34:18 (GMT) |
commit | ea45426ab6942d3deb736ee429ae7bc4ae8713e5 (patch) | |
tree | 14c7dea43c6d748b802662dd947951fcdb177291 | |
parent | d07207c2fe77f5c4f732dddc34c0089f1e6b9f1d (diff) | |
download | Qt-ea45426ab6942d3deb736ee429ae7bc4ae8713e5.zip Qt-ea45426ab6942d3deb736ee429ae7bc4ae8713e5.tar.gz Qt-ea45426ab6942d3deb736ee429ae7bc4ae8713e5.tar.bz2 |
Silence warning about unused static function on Windows
Reviewed-by: mariusSO
-rw-r--r-- | src/corelib/io/qtemporaryfile.cpp | 2 |
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 |