mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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
|
// chown is attribute warn_unused_result, but in case this fails
|
||||||
// we can't do anything useful about it. Notifying the user
|
// we can't do anything useful about it. Notifying the user
|
||||||
// is somewhat pointless. Add hack to suppress compiler warning.
|
// is somewhat pointless. Add hack to suppress compiler warning.
|
||||||
if(chown(qPrintable(userSettings->fileName()), realuid, realgid));
|
if(chown(qPrintable(userSettings->fileName()), realuid, realgid))
|
||||||
|
{ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue