Fix compilation error in connectionDied:

This commit is contained in:
Gregory John Casamento 2018-01-22 17:44:35 -05:00
parent 57cf738c8b
commit f61d60b7b2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2018-01-22 Gregory John Casamento <greg.casamento@gmail.com>
* Tools/speech/GSSpeechSynthesizer.m: Correct compilation
error in for loop in connectionDied: method.
2018-01-21 Fred Kiefer <FredKiefer@gmx.de>
* Tools/speech/GNUmakefile: Remove specific OBJC flags.

View file

@ -25,7 +25,8 @@ static int clients;
+ (void)connectionDied: (NSNotification*)aNotification
{
NSEnumerator *e = [[[aNotification object] localObjects] objectEnumerator];
for (NSObject *o = [e nextObject] ; nil != o ; o = [e nextObject])
NSObject *o = nil
for (o = [e nextObject] ; nil != o ; o = [e nextObject])
{
if ([o isKindOfClass: self])
{