Fixed a couple warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
196cb0aabe
commit
48478bbe15
@ -278,7 +278,7 @@ void MusicOggStream::updateFaster(float percent, float max_pitch)
|
||||
void MusicOggStream::update()
|
||||
{
|
||||
|
||||
if (m_pausedMusic || m_soundSource == -1)
|
||||
if (m_pausedMusic || m_soundSource == ALuint(-1))
|
||||
{
|
||||
// nothing todo
|
||||
return;
|
||||
|
@ -185,7 +185,6 @@ void DeviceConfig::serialize (std::ofstream& stream)
|
||||
|
||||
bool DeviceConfig::deserializeAction(irr::io::IrrXMLReader* xml)
|
||||
{
|
||||
bool success = false;
|
||||
int binding_id = -1;
|
||||
|
||||
// Never hurts to check ;)
|
||||
|
Loading…
Reference in New Issue
Block a user