]> sourceware.org Git - glibc.git/commit
Linux: Add missing handling of tai field to __ntp_gettime64
authorFlorian Weimer <fweimer@redhat.com>
Wed, 20 May 2020 15:15:45 +0000 (17:15 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 20 May 2020 15:58:56 +0000 (17:58 +0200)
commitb6ad64b907ab0066902215cf28eadc1e97307e84
tree32228026e16b3206fcb607e8ac0bae25be51edcb
parent901ac8431c9c031673f965e30b0d4a24ec3b8370
Linux: Add missing handling of tai field to __ntp_gettime64

This fixes a build error:

../sysdeps/unix/sysv/linux/ntp_gettime.c: In function ‘__ntp_gettime’:
../sysdeps/unix/sysv/linux/ntp_gettime.c:56:10: error: ‘ntv64.tai’ is used uninitialized in this function [-Werror=uninitialized]
   56 |   *ntv = valid_ntptimeval64_to_ntptimeval (ntv64);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sysdeps/unix/sysv/linux/ntp_gettime.c
This page took 0.045148 seconds and 5 git commands to generate.