core: Fix unused variable error in handle_show_sysinfo.
authorAlexander Traud <pabstraud@compuserve.com>
Sat, 27 Jan 2018 15:44:21 +0000 (16:44 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Sat, 27 Jan 2018 15:44:21 +0000 (16:44 +0100)
commitd9e42f27b9cd6db321f8e25e58dc1748ab1dc7bc
treea5c697810d2b2b359deff9dcef3dfba9eb107483
parentda5859246db94d9852323b1357401559f162d7ba
core: Fix unused variable error in handle_show_sysinfo.

The previous fix broke the case
HAVE_SYSINFO = no
HAVE_SYSCTL = yes
HAVE_SWAPCTL = no
which occurs on FreeBSD 11.1 for example.

ASTERISK-26563

Change-Id: If77c39bc75f0b83a6c8a24ecb2fa69be8846160a
main/asterisk.c