Actually, I changed my mind. gcc warns that these variables may be

used uninitialized, but by not initializing them I assert that they
won't. Ha, so there!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8152 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit
2004-06-25 08:36:07 +00:00
parent a3f1540388
commit e4aca0a646
+4 -4
View File
@@ -436,8 +436,8 @@ void BMidiStore::Run()
paused = false;
finished = false;
int32 timeAdjust = 0;
uint32 baseTime = 0;
int32 timeAdjust;
uint32 baseTime;
bool firstEvent = true;
bool resetTime = false;
@@ -980,8 +980,8 @@ void BMidiStore::WriteTrack()
Write32Bit(0);
byteCount = 0;
uint32 oldTime = 0;
uint32 newTime = 0;
uint32 oldTime;
uint32 newTime;
for (uint32 t = 0; t < CountEvents(); ++t)
{