[sr-dev] git:master:e6c9474e: core: cfg ctx - removed unused variable

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 21 10:28:25 CEST 2017


Module: kamailio
Branch: master
Commit: e6c9474e456fb0673c87f87a325d9dc40aa10d32
URL: https://github.com/kamailio/kamailio/commit/e6c9474e456fb0673c87f87a325d9dc40aa10d32

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-07-21T10:27:57+02:00

core: cfg ctx - removed unused variable

---

Modified: src/core/cfg/cfg_ctx.c

---

Diff:  https://github.com/kamailio/kamailio/commit/e6c9474e456fb0673c87f87a325d9dc40aa10d32.diff
Patch: https://github.com/kamailio/kamailio/commit/e6c9474e456fb0673c87f87a325d9dc40aa10d32.patch

---

diff --git a/src/core/cfg/cfg_ctx.c b/src/core/cfg/cfg_ctx.c
index 6dc9a469c0..d251b11317 100644
--- a/src/core/cfg/cfg_ctx.c
+++ b/src/core/cfg/cfg_ctx.c
@@ -1373,8 +1373,7 @@ int cfg_get_default_value_by_name(cfg_ctx_t *ctx, str *group_name,
 	cfg_mapping_t	*var;
 	void	*p;
 	static str	s;	/* we need the value even
-				after the function returns */
-	cfg_group_inst_t	*group_inst;
+					 * after the function returns */
 
 	/* verify the context even if we do not need it now
 	to make sure that a cfg driver has called the function




More information about the sr-dev mailing list