mirror of http://gerrit.asterisk.org/asterisk
When HAVE_GETHOSTBYNAME_R_5 was set by the script ./configure, GCC 7.3.0 found an unused variable. Actually, the variable was used (set to a dummy value) but the compiler optimization might have removed that. Instead, this change ensures that the variable 'res' is only used when it is really required. Change-Id: Ic3ea23ccf84ac4bc2d501b514985b989030abab5changes/58/8458/1
parent
c491ed7512
commit
4a972d24c9
Loading…
Reference in new issue