OSDN Git Service

Split increments to silence a compiler warning.
authorStephen Hines <srhines@google.com>
Fri, 1 Apr 2016 05:02:38 +0000 (22:02 -0700)
committerStephen Hines <srhines@google.com>
Fri, 1 Apr 2016 05:02:38 +0000 (22:02 -0700)
commit9c22c3c8c8e25273cf98454fa8902346cccae7ab
treec2b20f0e4628e9fce51f3db3298df53198dadde4
parent1ccaed4d2ba9af76bb30b286880dba687e36dbdc
Split increments to silence a compiler warning.

Upstream clang complains that this line may be a possible misuse of the
comma operator, since the result from "p++" is being discarded. Rather
than overcomplicate things with a static_cast<void>(), it is easiest to
just move this to a separate statement.

Change-Id: I5d005eb82a02430f691f99a2f1e8b7237320f84a
libs/ui/Region.cpp