diff options
author | Rickard Green <[email protected]> | 2014-12-03 23:53:40 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-12-03 23:53:40 +0100 |
commit | 58f42056a6386b16edd647721df046db3581739b (patch) | |
tree | 98beeec0c51f18aa1adb5e4b0dcedd324c4ba4dd | |
parent | c518db7a00b116ce9cbe02a0c4b2d16f6bfde1ca (diff) | |
parent | e0414e9f0f5924e3f794dd824715f96313198987 (diff) | |
download | otp-58f42056a6386b16edd647721df046db3581739b.tar.gz otp-58f42056a6386b16edd647721df046db3581739b.tar.bz2 otp-58f42056a6386b16edd647721df046db3581739b.zip |
Merge branch 'maint'
* maint:
Fix function "defined but not used" warning
-rw-r--r-- | erts/emulator/sys/common/erl_check_io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/sys/common/erl_check_io.c b/erts/emulator/sys/common/erl_check_io.c index 81cb5dc4bb..0051b45b31 100644 --- a/erts/emulator/sys/common/erl_check_io.c +++ b/erts/emulator/sys/common/erl_check_io.c @@ -268,6 +268,8 @@ free_drv_select_data(ErtsDrvSelectDataState *dsp) erts_free(ERTS_ALC_T_DRV_SEL_D_STATE, dsp); } +#if ERTS_CIO_HAVE_DRV_EVENT + static ERTS_INLINE ErtsDrvEventDataState * alloc_drv_event_data(void) { @@ -290,6 +292,8 @@ free_drv_event_data(ErtsDrvEventDataState *dep) erts_free(ERTS_ALC_T_DRV_EV_D_STATE, dep); } +#endif /* ERTS_CIO_HAVE_DRV_EVENT */ + static ERTS_INLINE void remember_removed(ErtsDrvEventState *state, struct pollset_info* psi) { |