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:
parent
0fcc84f463
commit
1383be8fb0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue