[Wayland-bugs] [Bug 104279] evdev-mt-touchpad.c:1270]: (warning) Identical condition

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 15 15:41:59 UTC 2017


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

            Bug ID: 104279
           Summary: evdev-mt-touchpad.c:1270]: (warning) Identical
                    condition
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: dcb314 at hotmail.com

../src/evdev-mt-touchpad.c:1264] -> [../src/evdev-mt-touchpad.c:1270]:
(warning) Identical condition 'tp->nfingers_down!=tp->old_nfingers_down',
second condition is always false

Source code is

    if (tp->nfingers_down != tp->old_nfingers_down)
        return true;

    /* if we're transitioning between slots and fake touches in either
     * direction, we may get a coordinate jump
     */
    if (tp->nfingers_down != tp->old_nfingers_down &&

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20171215/722822c6/attachment.html>


More information about the wayland-bugs mailing list