avoid assignment in if-expression

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35245 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-08-31 13:25:29 +00:00
parent 5f15803fb5
commit 4b6fe42475

View File

@ -226,7 +226,8 @@ void LinkBackRunAppNotFoundPanel(NSString* appName, NSURL* url)
- (id)initWithName:(NSString*)aName delegate:(id<LinkBackServerDelegate>)aDel
{
if (self = [super init]) {
self = [super init];
if (self) {
name = [aName copy] ;
delegate = aDel ;
listener = nil ;