From a0445c7a3ef1b81ed37cfdbe7c89319c2fc391ca 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 2e612c111f..ef4d1adbc9 100644 --- a/main/utils.c +++ b/main/utils.c @@ -2568,7 +2568,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