yaz/yaz-4.1.7-codecleanup.diff

23 lines
572 B
Diff

--- yaz-4.1.7/src/zoom-sru.c~ 2011-02-09 10:50:53.000000000 +0100
+++ yaz-4.1.7/src/zoom-sru.c 2011-04-05 10:26:34.000000000 +0200
@@ -140,7 +140,7 @@
{
const char *facets = 0;
int i;
- int *start, *count;
+ int *start=0, *count=0;
ZOOM_resultset resultset = 0;
Z_SRW_PDU *sr = 0;
const char *option_val = 0;
@@ -249,7 +249,7 @@
int i;
NMEM nmem;
ZOOM_Event event;
- int *start, *count;
+ int *start=0, *count=0;
const char *syntax, *elementSetName;
if (!c->tasks)
Diff finished. Tue Apr 5 10:26:46 2011