diff options
-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 |