aix: fix -Wmaybe-uninitialized warning
PR-URL: https://github.com/libuv/libuv/pull/1650 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
parent
40a003b4e1
commit
9f70d39b5a
@ -921,6 +921,7 @@ int uv_uptime(double* uptime) {
|
||||
size_t entries = 0;
|
||||
time_t boot_time;
|
||||
|
||||
boot_time = 0;
|
||||
utmpname(UTMP_FILE);
|
||||
|
||||
setutent();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user