[Asterisk-code-review] utils: Avoid an unused variable in Solaris 11. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Thu Jun 21 05:16:42 CDT 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/9241


Change subject: utils: Avoid an unused variable in Solaris 11.
......................................................................

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
---
M main/utils.c
1 file changed, 0 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/41/9241/1

diff --git a/main/utils.c b/main/utils.c
index 6ecd2b8..a51953f 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -2485,7 +2485,6 @@
 {
 	int s;
 	int x;
-	int res = 0;
 	struct lifreq *ifr = NULL;
 	struct lifnum ifn;
 	struct lifconf ifc;

-- 
To view, visit https://gerrit.asterisk.org/9241
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I63dd2bc4833b9bdb04602f83422d16caf289d46a
Gerrit-Change-Number: 9241
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180621/a39fb8b1/attachment.html>


More information about the asterisk-code-review mailing list