]> git.lyx.org Git - features.git/commitdiff
avoid assignment in if-expression
authorStephan Witt <switt@lyx.org>
Tue, 31 Aug 2010 13:25:29 +0000 (13:25 +0000)
committerStephan Witt <switt@lyx.org>
Tue, 31 Aug 2010 13:25:29 +0000 (13:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35245 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/linkback/LinkBackServer.m

index 3fe26a1fdc0e3c886dd3029314282c2a3ea7c725..84e224745f69c2148b9f97ddf92b503efcae8140 100644 (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 ;