From a5c53bd323dfa0ebb53ca514fc5c46ca5fecabdd Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Thu, 21 Jun 2018 12:01:53 +0200 Subject: [PATCH] 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 --- main/utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/main/utils.c b/main/utils.c index 6ecd2b82e5..a51953f75c 100644 --- a/main/utils.c +++ b/main/utils.c @@ -2485,7 +2485,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; -- 2.47.2