Fixed compiler warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8151 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -436,8 +436,8 @@ void BMidiStore::Run()
|
||||
paused = false;
|
||||
finished = false;
|
||||
|
||||
int32 timeAdjust;
|
||||
uint32 baseTime;
|
||||
int32 timeAdjust = 0;
|
||||
uint32 baseTime = 0;
|
||||
bool firstEvent = true;
|
||||
bool resetTime = false;
|
||||
|
||||
@@ -980,8 +980,8 @@ void BMidiStore::WriteTrack()
|
||||
Write32Bit(0);
|
||||
|
||||
byteCount = 0;
|
||||
uint32 oldTime;
|
||||
uint32 newTime;
|
||||
uint32 oldTime = 0;
|
||||
uint32 newTime = 0;
|
||||
|
||||
for (uint32 t = 0; t < CountEvents(); ++t)
|
||||
{
|
||||
|
||||
@@ -230,7 +230,7 @@ void BMidiLocalProducer::SpraySystemExclusive(
|
||||
void BMidiLocalProducer::SpraySystemCommon(
|
||||
uchar status, uchar data1, uchar data2, bigtime_t time) const
|
||||
{
|
||||
size_t len;
|
||||
size_t len = 0;
|
||||
uchar data[3];
|
||||
data[0] = status;
|
||||
data[1] = data1;
|
||||
|
||||
Reference in New Issue
Block a user