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
This commit is contained in:
Dominik Riebeling 2009-10-14 20:43:50 +00:00
parent 0fcc84f463
commit 1383be8fb0

View file

@ -151,7 +151,8 @@ void RbSettings::sync()
// chown is attribute warn_unused_result, but in case this fails
// we can't do anything useful about it. Notifying the user
// is somewhat pointless. Add hack to suppress compiler warning.
if(chown(qPrintable(userSettings->fileName()), realuid, realgid));
if(chown(qPrintable(userSettings->fileName()), realuid, realgid))
{ }
}
}
#endif