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)
commit9df6c82a8ea4064f9868028b9fc3412f45adbb0a
tree1d3795d3eeb9270fdfd3badb7f799a0f8290023f
parent8fba2b8dfd9d2e9070741e082b9c1f84cb33f799
Clean-up: remove instances of loop initial declarations

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
src/common/tracker.c
tests/regression/tools/notification/notification.c
tests/unit/test_relayd_backward_compat_group_by_session.c
This page took 0.037678 seconds and 4 git commands to generate.