aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-03-30 10:35:04 +0200
committerLukas Larsson <[email protected]>2017-04-20 10:08:18 +0200
commit9e4c07da93f8fd9788c10995c98bcfd1a0c2edda (patch)
tree0d1519057190b0f0ffee862319afa9c102be6838 /erts/emulator/sys
parentb87894a1e91ad8370196a0c0d9ec6bfefab1dcbd (diff)
downloadotp-9e4c07da93f8fd9788c10995c98bcfd1a0c2edda.tar.gz
otp-9e4c07da93f8fd9788c10995c98bcfd1a0c2edda.tar.bz2
otp-9e4c07da93f8fd9788c10995c98bcfd1a0c2edda.zip
erts: Fix new gcc warning in check io
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/common/erl_check_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_check_io.c b/erts/emulator/sys/common/erl_check_io.c
index 00c70268df..b6d71b3ec5 100644
--- a/erts/emulator/sys/common/erl_check_io.c
+++ b/erts/emulator/sys/common/erl_check_io.c
@@ -2306,7 +2306,7 @@ ERTS_CIO_EXPORT(erts_check_io)(int do_wait)
case ERTS_EV_TYPE_NIF: { /* Requested via enif_select()... */
struct erts_nif_select_event in = {NIL};
struct erts_nif_select_event out = {NIL};
- ErtsResource* resource;
+ ErtsResource* resource = NULL;
ErtsPollEvents revents = pollres[i].events;
if (revents & ERTS_POLL_EV_ERR) {