summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-09-22 11:14:16 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-09-22 13:31:48 (GMT)
commit9f2aee2a22d5a7c53480cc6c5794293bfe04cf8c (patch)
treec0b2cb8c9da3cd6a51c9baf9efc43850317e3654
parentc798fc3bf3ed8551185d0914f25dc7ed6fd123dd (diff)
downloadQt-9f2aee2a22d5a7c53480cc6c5794293bfe04cf8c.zip
Qt-9f2aee2a22d5a7c53480cc6c5794293bfe04cf8c.tar.gz
Qt-9f2aee2a22d5a7c53480cc6c5794293bfe04cf8c.tar.bz2
Remove warnings
-rw-r--r--src/corelib/io/qfilesystemengine_unix.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index 8724b15..0672490 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -102,6 +102,7 @@ static inline bool _q_isMacHidden(const char *nativePath)
#else
static inline bool _q_isMacHidden(const char *nativePath)
{
+ Q_UNUSED(nativePath);
// no-op
return false;
}
@@ -294,6 +295,8 @@ QString QFileSystemEngine::bundleName(const QFileSystemEntry &entry)
return QCFString::toQString((CFStringRef)name);
}
}
+#else
+ Q_UNUSED(entry);
#endif
return QString();
}