From 9f70d39b5aaaf25fb8a7e8ce1f0c9033c45abe85 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 23 Nov 2017 22:00:05 -0500 Subject: [PATCH] aix: fix -Wmaybe-uninitialized warning PR-URL: https://github.com/libuv/libuv/pull/1650 Reviewed-By: Ben Noordhuis Reviewed-By: Gireesh Punathil --- src/unix/aix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/aix.c b/src/unix/aix.c index 07f81fcf..06f19a4f 100644 --- a/src/unix/aix.c +++ b/src/unix/aix.c @@ -921,6 +921,7 @@ int uv_uptime(double* uptime) { size_t entries = 0; time_t boot_time; + boot_time = 0; utmpname(UTMP_FILE); setutent();