summaryrefslogtreecommitdiffstats
path: root/qtools/qdir_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qdir_unix.cpp')
-rw-r--r--qtools/qdir_unix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtools/qdir_unix.cpp b/qtools/qdir_unix.cpp
index 46a3b69..e845043 100644
--- a/qtools/qdir_unix.cpp
+++ b/qtools/qdir_unix.cpp
@@ -82,12 +82,12 @@ QString QDir::canonicalPath() const
char cur[PATH_MAX];
char tmp[PATH_MAX];
- GETCWD( cur, PATH_MAX );
+ (void)GETCWD( cur, PATH_MAX );
if ( CHDIR(QFile::encodeName(dPath)) >= 0 ) {
- GETCWD( tmp, PATH_MAX );
+ (void)GETCWD( tmp, PATH_MAX );
r = QFile::decodeName(tmp);
}
- CHDIR( cur );
+ (void)CHDIR( cur );
slashify( r );
return r;