Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > caa05f98a71ecde02fb69efaa23df84c > files > 9

isdn4k-utils-3.12-20.mga6.src.rpm

diff -Naur isdn4k-utils/eicon/eiconctrl.c isdn4k-utils.oden/eicon/eiconctrl.c
--- isdn4k-utils/eicon/eiconctrl.c	2001-03-01 15:59:12.000000000 +0100
+++ isdn4k-utils.oden/eicon/eiconctrl.c	2008-08-20 15:46:29.000000000 +0200
@@ -1970,7 +1970,7 @@
 				val = strtol(p, &q, 16);
 				p = q;
 				val = strtol(p, &q, 16);
-				(unsigned short) *buffer = (unsigned short) val;
+				*buffer = (unsigned short) val;
 				pos = 2;
 				while ((p != q) && (*q != 0)) {
 					p = q;
diff -Naur isdn4k-utils/isdnlog/isdnlog/processor.c isdn4k-utils.oden/isdnlog/isdnlog/processor.c
--- isdn4k-utils/isdnlog/isdnlog/processor.c	2007-05-17 23:10:29.000000000 +0200
+++ isdn4k-utils.oden/isdnlog/isdnlog/processor.c	2008-08-20 15:46:29.000000000 +0200
@@ -3741,7 +3741,7 @@
      isdn_net_ioctl_phone netdvX_phone;
 #endif
   }	   phone;
-  auto	   int rc, chan, l1, l2, lmin, lmax, ldiv, match;
+  auto	   int rc, chan = 0, l1, l2, lmin, lmax, ldiv, match;
 
   if ((iflst = fopen("/proc/net/dev", "r")) == NULL)
     return(-1);
diff -Naur isdn4k-utils/isdnlog/isdnrep/isdnbill.c isdn4k-utils.oden/isdnlog/isdnrep/isdnbill.c
--- isdn4k-utils/isdnlog/isdnrep/isdnbill.c	2007-01-05 05:23:58.000000000 +0100
+++ isdn4k-utils.oden/isdnlog/isdnrep/isdnbill.c	2008-08-20 15:46:29.000000000 +0200
@@ -859,7 +859,7 @@
 #endif
   auto     char     s[BUFSIZ], sx[BUFSIZ];
   auto     int      i, l, col, day, lday = UNKNOWN, month, lmonth = UNKNOWN;
-  auto     double   dur;
+  auto     double   dur = 0.0;
   auto     char    *version;
   auto     char    *myname = basename(argv[0]);
   auto     int      opt, go, s0, indent;
diff -Naur isdn4k-utils/isdnlog/isdnrep/isdnrep.c isdn4k-utils.oden/isdnlog/isdnrep/isdnrep.c
--- isdn4k-utils/isdnlog/isdnrep/isdnrep.c	2007-01-05 05:23:58.000000000 +0100
+++ isdn4k-utils.oden/isdnlog/isdnrep/isdnrep.c	2008-08-20 15:46:29.000000000 +0200
@@ -2884,7 +2884,7 @@
 {
   static char String[256];
   one_call *tmp_call;
-  int RetCode;
+  int RetCode = 0;
 
 
   if (bill)
diff -Naur isdn4k-utils/isdnlog/tools/zone.c isdn4k-utils.oden/isdnlog/tools/zone.c
--- isdn4k-utils/isdnlog/tools/zone.c	2003-09-11 12:58:56.000000000 +0200
+++ isdn4k-utils.oden/isdnlog/tools/zone.c	2008-08-20 15:46:29.000000000 +0200
@@ -540,7 +540,7 @@
 			char *p = value.dptr;
 			char to[10];
 			US count;
-			int ito;
+			int ito = 0;
 			unsigned char z=0;
 			if (sthp->cc) /* if areacodes */
 				/* here is since 1.00 a zero-terminated strring */