adium 4572:7ee7f2517cc5: Fixed "Argument in message expression i...

commits at adium.im commits at adium.im
Fri Jan 27 10:54:14 UTC 2012


details:	http://hg.adium.im/adium/rev/7ee7f2517cc5
revision:	4572:7ee7f2517cc5
branch:		(none)
author:		Adrian Godoroja <robotive at me.com>
date:		Fri Jan 27 12:54:07 2012 +0200

Fixed "Argument in message expression is an uninitialized value" in AIChat.m. Analyzer Warnings--.

diffs (12 lines):

diff -r 13e6121da7f7 -r 7ee7f2517cc5 Frameworks/Adium Framework/Source/AIChat.m
--- a/Frameworks/Adium Framework/Source/AIChat.m	Fri Jan 27 02:02:08 2012 +0200
+++ b/Frameworks/Adium Framework/Source/AIChat.m	Fri Jan 27 12:54:07 2012 +0200
@@ -914,7 +914,7 @@
 {
 	AIMessageWindowController *windowController = self.chatContainer.windowController;	
 	NSScriptClassDescription *containerClassDesc;
-	NSScriptObjectSpecifier *containerRef;
+	NSScriptObjectSpecifier *containerRef = nil;
 	if (windowController) {
 		containerRef = [[windowController window] objectSpecifier];
 		containerClassDesc = [containerRef keyClassDescription];




More information about the commits mailing list