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:
@@ -436,8 +436,8 @@ void BMidiStore::Run()
|
|||||||
paused = false;
|
paused = false;
|
||||||
finished = false;
|
finished = false;
|
||||||
|
|
||||||
int32 timeAdjust = 0;
|
int32 timeAdjust;
|
||||||
uint32 baseTime = 0;
|
uint32 baseTime;
|
||||||
bool firstEvent = true;
|
bool firstEvent = true;
|
||||||
bool resetTime = false;
|
bool resetTime = false;
|
||||||
|
|
||||||
@@ -980,8 +980,8 @@ void BMidiStore::WriteTrack()
|
|||||||
Write32Bit(0);
|
Write32Bit(0);
|
||||||
|
|
||||||
byteCount = 0;
|
byteCount = 0;
|
||||||
uint32 oldTime = 0;
|
uint32 oldTime;
|
||||||
uint32 newTime = 0;
|
uint32 newTime;
|
||||||
|
|
||||||
for (uint32 t = 0; t < CountEvents(); ++t)
|
for (uint32 t = 0; t < CountEvents(); ++t)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user