[Freeswitch-svn] [commit] r13351 - in freeswitch/trunk/libs/sofia-sip: . utils

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 09:16:36 PDT 2009


Author: mikej
Date: Fri May 15 11:16:35 2009
New Revision: 13351

Log:
Wed May 13 13:21:12 CDT 2009  Pekka Pessi <first.last at nokia.com>
  * sip-date.c: not using uninit data.
  Ignore-this: 48751cc510886e42e23e48c535a869bc
  
  Coverity issue.


Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/utils/sip-date.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Fri May 15 11:16:35 2009
@@ -1 +1 @@
-Fri May 15 11:15:49 CDT 2009
+Fri May 15 11:16:18 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/utils/sip-date.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/utils/sip-date.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/utils/sip-date.c	Fri May 15 11:16:35 2009
@@ -99,7 +99,7 @@
 int main(int ac, char *av[])
 {
   int numeric = 0;
-  sip_time_t t, t2;
+  sip_time_t t = 0, t2 = 0;
   char const *s;
   char buf[1024];
 
@@ -132,8 +132,6 @@
     }
     else {
       for (; *s; ) {
-	t2 = 0;
-
 	if (msg_delta_d(&s, &t2) < 0)
 	  usage();
 



More information about the Freeswitch-svn mailing list