Clean-up: remove instances of loop initial declarations
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 31 Jan 2020 21:25:14 +0000 (16:25 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 31 Jan 2020 21:25:14 +0000 (16:25 -0500)
Loop initial declarations are not permitted by the project's
coding standard and cause the build to fail on Solaris platforms.

tracker.c: In function 'lttng_tracker_ids_serialize':
tracker.c:314:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < count; i++) {
  ^
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I627974ef82ca26586c96d354f217f9943db9d67c


No differences found
This page took 0.024533 seconds and 4 git commands to generate.