fixed several warnings from Xcode 4 LLVM compiler; fixed bug #920

This commit is contained in:
Vadim Pisarevsky
2011-04-30 19:29:26 +00:00
parent 92852ca06e
commit 23a9b7bb9c
18 changed files with 51 additions and 53 deletions

View File

@@ -122,7 +122,7 @@ static bool wasInitialized = false;
- (void)createSliderWithName:(const char *)name maxValue:(int)max value:(int *)value callback:(CvTrackbarCallback)callback;
@end
static void icvCocoaCleanup(void)
/*static void icvCocoaCleanup(void)
{
//cout << "icvCocoaCleanup" << endl;
if( application )
@@ -132,7 +132,7 @@ static void icvCocoaCleanup(void)
application = 0;
[pool release];
}
}
}*/
CV_IMPL int cvInitSystem( int argc, char** argv)
{