posix: clock: fix maybe-uninitialized warning in z_clock_gettime
Compiler gets confused and thinks base may be used uninitialized. This
shouldn't be possible, but to make the warning go away, initialize it.
Signed-off-by:
Benjamin Cabé <benjamin@zephyrproject.org>
Loading
Please sign in to comment