spawn-viewer: silence bogus warning on gcc 5.4.0 PPC32
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Mar 2021 16:10:38 +0000 (11:10 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Mar 2021 16:15:25 +0000 (11:15 -0500)
gcc 5.4.0 warns that saveptr is used uninitialized, but the use here
with strtok_r is fine, as documented in STRTOK(3). `saveptr` is merely
used as a return value when `str` is non-NULL.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I1e47cb633f09978ebf9159f07dfacb8bef27a616


No differences found
This page took 0.028242 seconds and 5 git commands to generate.