[vlc-devel] commit: macosx_dialog_provider: It's ok to have a nil object as *parameter* . (Pierre d'Herbemont )
git version control
git at videolan.org
Mon Jan 4 23:48:21 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon Jan 4 11:36:49 2010 +0100| [ac05d34d9ec4bb80ff3d65f1b56f586d16b82429] | committer: Pierre d'Herbemont
macosx_dialog_provider: It's ok to have a nil object as *parameter*.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac05d34d9ec4bb80ff3d65f1b56f586d16b82429
---
.../gui/macosx_dialog_provider/dialogProvider.m | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx_dialog_provider/dialogProvider.m b/modules/gui/macosx_dialog_provider/dialogProvider.m
index 7a8670f..87fd10c 100644
--- a/modules/gui/macosx_dialog_provider/dialogProvider.m
+++ b/modules/gui/macosx_dialog_provider/dialogProvider.m
@@ -452,7 +452,6 @@ bool checkProgressPanel (void *priv)
id object = [dict objectForKey:@"object"];
NSAssert(sel, @"Try to execute a NULL selector");
- NSAssert(object, @"Try to execute from a nil object");
*result = [self performSelector:sel withObject:object];
[*result retain]; // Balanced in -resultFromSelectorOnMainThread
@@ -462,7 +461,6 @@ bool checkProgressPanel (void *priv)
{
id result = nil;
NSAssert(sel, @"Try to execute a NULL selector");
- NSAssert(sel, @"Try to execute from a nil object");
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
[NSValue valueWithPointer:sel], @"sel",
[NSValue valueWithPointer:&result], @"result",
More information about the vlc-devel
mailing list