]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod_command.c
Fix various dead stores found by the clang static analyzer.
[paraslash.git] / audiod_command.c
index 27ef63caea22f9af45d9a951a5df39d1cb078210..3b41376dece2401eef5bb073bd27552f5a04712e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -379,7 +379,6 @@ int handle_connect(int accept_fd)
        ret = check_perms(uid);
        if (ret < 0)
                goto out;
-       ret = -E_INVALID_AUDIOD_CMD;
        cmd = para_strdup(buf);
        p = strchr(cmd, '\n');
        if (!p)