]> 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 a6f6776267b1183ec947cf4bbfdf268fe3e8077d..3b41376dece2401eef5bb073bd27552f5a04712e 100644 (file)
@@ -379,7 +379,6 @@ int handle_connect(int accept_fd)
        ret = check_perms(uid);
        if (ret < 0)
                goto out;
        ret = check_perms(uid);
        if (ret < 0)
                goto out;
-       ret = -E_INVALID_AUDIOD_CMD;
        cmd = para_strdup(buf);
        p = strchr(cmd, '\n');
        if (!p)
        cmd = para_strdup(buf);
        p = strchr(cmd, '\n');
        if (!p)