]> git.tue.mpg.de Git - paraslash.git/commitdiff
Fix compilation MacOS.
authorAndre Noll <maan@systemlinux.org>
Mon, 17 Dec 2012 15:49:48 +0000 (16:49 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 17 Dec 2012 15:49:48 +0000 (16:49 +0100)
The resolution of the conflict in commit 83ab4b5d introduced the
following error:

osx_write.c:329:9: error: use of undeclared label 'remove_btrn'
                        goto remove_btrn;
                             ^
Fix is trivial.

osx_write.c

index b057b9c057991864b582ad8519cbac1b9083a90d..bd829f0041edac5efd0091e1b15c917de8029dcd 100644 (file)
@@ -326,7 +326,7 @@ static void osx_write_post_select(__a_unused struct sched *s, struct task *t)
                        AudioUnitUninitialize(powd->audio_unit);
                        CloseComponent(powd->audio_unit);
                        btr_remove_node(&powd->callback_btrn);
-                       goto remove_btrn;
+                       goto fail;
                }
        }
        mutex_lock(powd->mutex);