From 5d245b5f8d9663953c20107e3bb16fe249e48126 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Tue, 24 Sep 2019 21:55:36 +0100 Subject: inet/net-internal.h: Fix uninitalised clntudp_call() variable The total_deadline variable inside the clntudp_call() function inside sunrpc/clnt_udp.c can cause uninitalised variable warnings when building with GCC 8.3 or 9.2 on a platform with a 64-bit tv_nsec on a 32-bit architecture. To fix the warning let's use the DIAG_* macros to hide the warning. A GCC bug case has also been submitted: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91691 2019-09-24 Alistair Francis * inet/net-internal.h: Fix uninitalised clntudp_call() variable. Reviewed-by: Carlos O'Donell --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f6f61439f4..097ff9e89a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-09-24 Alistair Francis + + * inet/net-internal.h: Fix uninitalised clntudp_call() variable. + 2019-09-24 Andreas Schwab * sysdeps/unix/sysv/linux/arm/sysdep.h -- cgit 1.4.1