From: Alexander Traud Date: Thu, 21 Jun 2018 10:01:53 +0000 (+0200) Subject: utils: Avoid an unused variable in Solaris 11. X-Git-Tag: 15.5.0-rc1~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2005472305c4fd48d5090e98fef5c7973a52f63;p=thirdparty%2Fasterisk.git utils: Avoid an unused variable in Solaris 11. With ./configure --enable-dev-mode[=noisy], the build fails because every warning gets an error. Therefore, Asterisk has to be free of warnings and this variable must go. Change-Id: I63dd2bc4833b9bdb04602f83422d16caf289d46a --- diff --git a/main/utils.c b/main/utils.c index dae994d62b..a036c7a2e8 100644 --- a/main/utils.c +++ b/main/utils.c @@ -2528,7 +2528,6 @@ void ast_set_default_eid(struct ast_eid *eid) { int s; int x; - int res = 0; struct lifreq *ifr = NULL; struct lifnum ifn; struct lifconf ifc;