Fix various dead stores found by the clang static analyzer.
[paraslash.git] / audiod_command.c
index a6f6776..3b41376 100644 (file)
@@ -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)