Bunch of small fixes for warnings and whatnot....
[blender-staging.git] / intern / SoundSystem / intern / SND_Scene.cpp
index 5d26b41469e5cf9b61da24f2b6cb0fa615e1ea89..ffb1cd441082cc86ce0a4a4785987617063ed854 100644 (file)
@@ -307,7 +307,6 @@ void SND_Scene::UpdateActiveObects()
                
                if (id >= 0)
                {
                
                if (id >= 0)
                {
-                       bool juststartedplaying = false;
 #ifdef USE_FMOD
                        // fmod wants these set before playing the sample
                        if (pObject->IsModified())
 #ifdef USE_FMOD
                        // fmod wants these set before playing the sample
                        if (pObject->IsModified())
@@ -323,7 +322,6 @@ void SND_Scene::UpdateActiveObects()
                                pObject->SetPlaystate(SND_PLAYING);
                                pObject->InitRunning();
 //                             printf("start play: %d\n", tijd);
                                pObject->SetPlaystate(SND_PLAYING);
                                pObject->InitRunning();
 //                             printf("start play: %d\n", tijd);
-                               juststartedplaying = true;
                        }
 #endif
                        if (pObject->Is3D())
                        }
 #endif
                        if (pObject->Is3D())