Bug 339533 - libvncserver/rfbregion.c:754: possible bad compound assignment
Summary: libvncserver/rfbregion.c:754: possible bad compound assignment
Status: RESOLVED FIXED
Alias: None
Product: krfb
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 16:47 UTC by dcb314
Modified: 2017-03-23 23:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcb314 2014-09-30 16:47:57 UTC
krfb-4.14.1/libvncserver/rfbregion.c:754:15: warning: use of unary operator that may be intended as compound assignment (+=)

    i->ptrPos =+ 2;

Maybe

    i->ptrPos += 2;

was intended.


Reproducible: Always
Comment 1 Albert Astals Cid 2017-03-23 23:27:20 UTC
We don't ship libvncserver anymore