diff options
author | João Abecasis <joao@abecasis.name> | 2009-04-15 12:15:46 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-04-15 16:14:21 (GMT) |
commit | 4378554647e3ab56cb9bceda9ceae962aab8e639 (patch) | |
tree | 62fd1281c7c13ec6b94d3163e0c687c8519ef488 /src/corelib | |
parent | 50d030e78386c7871a3e15029673db4591c8f8e5 (diff) | |
download | Qt-4378554647e3ab56cb9bceda9ceae962aab8e639.zip Qt-4378554647e3ab56cb9bceda9ceae962aab8e639.tar.gz Qt-4378554647e3ab56cb9bceda9ceae962aab8e639.tar.bz2 |
Silence warning about unused static function on Windows
Reviewed-by: mariusSO
Diffstat (limited to 'src/corelib')
-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 |