diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-10-14 20:43:50 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-10-14 20:43:50 +0000 |
commit | 1383be8fb0404b875440d22a6617191ae590c831 (patch) | |
tree | a4bfce651c12c0a1f791a3264668ac7d0b9fa44d | |
parent | 0fcc84f46370f972059860bd19c61de9926ee29d (diff) | |
download | rockbox-1383be8fb0404b875440d22a6617191ae590c831.tar.gz rockbox-1383be8fb0404b875440d22a6617191ae590c831.zip |
Fix a compiler warning showing up with newer gcc versions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23175 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | rbutil/rbutilqt/base/rbsettings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/rbsettings.cpp b/rbutil/rbutilqt/base/rbsettings.cpp index b1c6500ed2..bd6f94f2f4 100644 --- a/rbutil/rbutilqt/base/rbsettings.cpp +++ b/rbutil/rbutilqt/base/rbsettings.cpp | |||
@@ -151,7 +151,8 @@ void RbSettings::sync() | |||
151 | // chown is attribute warn_unused_result, but in case this fails | 151 | // chown is attribute warn_unused_result, but in case this fails |
152 | // we can't do anything useful about it. Notifying the user | 152 | // we can't do anything useful about it. Notifying the user |
153 | // is somewhat pointless. Add hack to suppress compiler warning. | 153 | // is somewhat pointless. Add hack to suppress compiler warning. |
154 | if(chown(qPrintable(userSettings->fileName()), realuid, realgid)); | 154 | if(chown(qPrintable(userSettings->fileName()), realuid, realgid)) |
155 | { } | ||
155 | } | 156 | } |
156 | } | 157 | } |
157 | #endif | 158 | #endif |