From: Phil T. <phi...@us...> - 2009-02-26 19:00:31
|
Update of /cvsroot/aaf/AAF/test/com/ComModTestAAF/ModuleTests In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7439/test/com/ComModTestAAF/ModuleTests Modified Files: CAAFSequenceTest.cpp CAAFSourceMobTest.cpp CAAFTypeDefStreamTest.cpp Log Message: Fix g++ warnings Index: CAAFTypeDefStreamTest.cpp =================================================================== RCS file: /cvsroot/aaf/AAF/test/com/ComModTestAAF/ModuleTests/CAAFTypeDefStreamTest.cpp,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** CAAFTypeDefStreamTest.cpp 24 Feb 2009 23:15:21 -0000 1.31 --- CAAFTypeDefStreamTest.cpp 26 Feb 2009 19:00:26 -0000 1.32 *************** *** 819,824 **** IAAFPropertyValue *pStreamPropertyValue) { - AAFRESULT hr = AAFRESULT_SUCCESS; - IAAFPlainStreamDataSP pTypeDefStream; Test_GetTypeDefStream(pStreamPropertyValue, &pTypeDefStream); --- 819,822 ---- Index: CAAFSourceMobTest.cpp =================================================================== RCS file: /cvsroot/aaf/AAF/test/com/ComModTestAAF/ModuleTests/CAAFSourceMobTest.cpp,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** CAAFSourceMobTest.cpp 26 Feb 2009 17:25:21 -0000 1.43 --- CAAFSourceMobTest.cpp 26 Feb 2009 19:00:26 -0000 1.44 *************** *** 62,67 **** aafFrameOffset_t storedTimeCode = 0; aafFrameOffset_t storedEdgeCode = 0; ! const aafInt32 edgeSlotID = 33; ! const aafInt32 timeCodeSlotID = 35; static HRESULT CreateAAFFile( --- 62,67 ---- aafFrameOffset_t storedTimeCode = 0; aafFrameOffset_t storedEdgeCode = 0; ! const aafSlotID_t edgeSlotID = 33; ! const aafSlotID_t timeCodeSlotID = 35; static HRESULT CreateAAFFile( *************** *** 120,124 **** // Append an Edgcode slot: ! aafInt32 slotID = edgeSlotID; aafRational_t editRate; editRate.numerator = 1; editRate.denominator = 1; --- 120,124 ---- // Append an Edgcode slot: ! aafSlotID_t slotID = edgeSlotID; aafRational_t editRate; editRate.numerator = 1; editRate.denominator = 1; Index: CAAFSequenceTest.cpp =================================================================== RCS file: /cvsroot/aaf/AAF/test/com/ComModTestAAF/ModuleTests/CAAFSequenceTest.cpp,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** CAAFSequenceTest.cpp 26 Feb 2009 17:26:50 -0000 1.40 --- CAAFSequenceTest.cpp 26 Feb 2009 19:00:26 -0000 1.41 *************** *** 155,159 **** IAAFSequence* pSequence = NULL; - IAAFComponent *pCompLengthCheck = NULL; IAAFComponent* pComponent = NULL; --- 155,158 ---- *************** *** 168,172 **** The insert will succeed and leave the sequence uninitialized. This behaviour is wrong but legacy code probably depends on it. ! The correct behaviour would be to return AAFRESULT_NOT_INITIALIZED on any attempt to maninpulat the sequence before it is initialized. */ //Attempt to insert a component before the sequence datadef is set --- 167,171 ---- The insert will succeed and leave the sequence uninitialized. This behaviour is wrong but legacy code probably depends on it. ! The correct behaviour would be to return AAFRESULT_NOT_INITIALIZED on any attempt to manipulate the sequence before it is initialized. */ //Attempt to insert a component before the sequence datadef is set |