[sr-dev] git:master: seas: fix compiler warning [-Wunused-but-set-variable]

Ovidiu Sas osas at voipembedded.com
Thu Apr 18 21:51:00 CEST 2013


Module: sip-router
Branch: master
Commit: 21e51107a5a08b182abc7bffbac1fec1be27950b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=21e51107a5a08b182abc7bffbac1fec1be27950b

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Thu Apr 18 15:51:50 2013 -0400

seas: fix compiler warning [-Wunused-but-set-variable]

---

 modules/seas/event_dispatcher.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/seas/event_dispatcher.c b/modules/seas/event_dispatcher.c
index eb73055..d10cffe 100644
--- a/modules/seas/event_dispatcher.c
+++ b/modules/seas/event_dispatcher.c
@@ -896,8 +896,8 @@ error:
  */
 int process_unbind_action(as_p as,unsigned char processor_id,unsigned int flags,char *payload,int len)
 {
-   int i,k;
-   k=0;
+   int i;
+
    for(i=0;i<as->num_binds;i++){
       if(as->bound_processor[i] == processor_id)
 	 break;




More information about the sr-dev mailing list