Fix warnings

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2012-03-07 11:39:31 +01:00
parent 37dd2841dd
commit 579a7d8972
3 changed files with 5 additions and 11 deletions

View file

@ -119,7 +119,8 @@ int __aeabi_idiv(int a, int b) {
#endif
#ifdef HAVE_G729
@"YES",@"g729_preference", // enable amr by default if compiled with
#endif @"NO",@"debugenable_preference",
#endif
@"NO",@"debugenable_preference",
//@"+33",@"countrycode_preference",
nil];
@ -181,16 +182,6 @@ int __aeabi_idiv(int a, int b) {
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificationTypeAlert|UIRemoteNotificationTypeSound];
UIDevice* device = [UIDevice currentDevice];
BOOL backgroundSupported = false;
if ([device respondsToSelector:@selector(isMultitaskingSupported)]){
backgroundSupported = device.multitaskingSupported;
}
if(backgroundSupported){
[[LinphoneManager instance] kickOffBackgroundTCPConnection];
NSLog(@"We are using my method");
}
CTCallCenter* ct = [[CTCallCenter alloc] init];
ct.callEventHandler = ^(CTCall* call) {
@synchronized([LinphoneManager instance]) {

View file

@ -362,6 +362,7 @@ static void linphone_iphone_call_state(LinphoneCore *lc, LinphoneCall* call, Lin
cancelButtonTitle:NSLocalizedString(@"Continue",nil)
otherButtonTitles:nil ,nil];
[error show];
[error release];
}
}

View file

@ -45,8 +45,10 @@
otherButtonTitles:nil];
[error show];
[error release];
[ct release];
return;
}
[ct release];
if (TRUE /*!linphone_core_in_call([LinphoneManager getLc])*/) {
LinphoneProxyConfig* proxyCfg;