File yaz-codecleanup.36.diff of Package yaz

diff -Nur '--exclude=*~' yaz-3.0.44/src/cqltransform.c yaz-3.0.44.new/src/cqltransform.c
--- yaz-3.0.44/src/cqltransform.c	2009-01-15 13:28:37.000000000 +0100
+++ yaz-3.0.44.new/src/cqltransform.c	2009-03-05 16:10:11.000000000 +0100
@@ -499,7 +499,7 @@
                        void *client_data)
 {
     int exclusion = 0;
-    int distance;               /* to be filled in later depending on unit */
+    int distance = 0 ;               /* to be filled in later depending on unit */
     int distance_defined = 0;
     int ordered = 0;
     int proxrel = 2;            /* less than or equal */
diff -Nur '--exclude=*~' yaz-3.0.44/src/zoom-c.c yaz-3.0.44.new/src/zoom-c.c
--- yaz-3.0.44/src/zoom-c.c	2009-01-15 13:28:37.000000000 +0100
+++ yaz-3.0.44.new/src/zoom-c.c	2009-03-05 16:11:25.000000000 +0100
@@ -1490,7 +1490,7 @@
 static zoom_ret ZOOM_connection_srw_send_search(ZOOM_connection c)
 {
     int i;
-    int *start, *count;
+    int *start=0, *count=0;
     ZOOM_resultset resultset = 0;
     Z_SRW_PDU *sr = 0;
     const char *option_val = 0;
openSUSE Build Service is sponsored by