[pulseaudio-tickets] [Bug 106982] New: pulseaudio-12.0/src/pulsecore/sink-input.c:2017: confused logic ?
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 21 07:25:22 UTC 2018
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: pulseaudio-bugs at lists.freedesktop.org
Reporter: dcb314 at hotmail.com
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180621/989b2748/attachment.html>
More information about the pulseaudio-bugs
mailing list