On Thu, Apr 10, 2014 at 03:55:29PM +1000, Peter Hutterer wrote:
On Wed, Apr 09, 2014 at 09:02:16PM +0200, Jonas Ådahl wrote:
Rewrite the tp_for_each_touch macro to always assign the iterator.
Practically it was already always assigning as ntouches is always more
than 0, but this way we
Rewrite the tp_for_each_touch macro to always assign the iterator.
Practically it was already always assigning as ntouches is always more
than 0, but this way we avoid a compiler warning by not relying on an
external variable for initiating the iterator.
Signed-off-by: Jonas Ådahl
On Wed, Apr 09, 2014 at 09:02:16PM +0200, Jonas Ådahl wrote:
Rewrite the tp_for_each_touch macro to always assign the iterator.
Practically it was already always assigning as ntouches is always more
than 0, but this way we avoid a compiler warning by not relying on an
external variable for