https://bugs.freedesktop.org/show_bug.cgi?id=106982

            Bug ID: 106982
           Summary: pulseaudio-12.0/src/pulsecore/sink-input.c:2017:
                    confused logic ?
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

pulseaudio-12.0/src/pulsecore/sink-input.c:2017]: (style) Redundant condition:
If 'EXPR == 1', the comparison 'EXPR != 2' is always true.

Source code is

    if ((state == PA_SINK_INPUT_DRAINED || state == PA_SINK_INPUT_RUNNING) &&
        !(i->thread_info.state == PA_SINK_INPUT_DRAINED || i->thread_info.state
!= PA_SINK_INPUT_RUNNING))

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to