2020-07-10 19:38:15 +02:00
|
|
|
Index: lalapps-6.26.0/src/string/StringSearch.c
|
2020-05-31 15:11:55 +02:00
|
|
|
===================================================================
|
2020-07-10 19:38:15 +02:00
|
|
|
--- lalapps-6.26.0.orig/src/string/StringSearch.c
|
|
|
|
+++ lalapps-6.26.0/src/string/StringSearch.c
|
|
|
|
@@ -202,7 +202,7 @@ int main(int argc,char *argv[])
|
2020-05-31 15:11:55 +02:00
|
|
|
unsigned seg_length;
|
|
|
|
StringTemplate strtemplate[MAXTEMPLATES];
|
|
|
|
int NTemplates;
|
|
|
|
- int NTemplates_fix; /* number of template given by the template bank file */
|
|
|
|
+ int NTemplates_fix = 0; /* number of template given by the template bank file */
|
|
|
|
REAL8 fcutoff_fix[MAXTEMPLATES]; /* high frequency cutoffs given by the template bank file */
|
|
|
|
SnglBurst *events=NULL;
|
|
|
|
MetadataTable process;
|
2020-07-10 19:38:15 +02:00
|
|
|
Index: lalapps-6.26.0/src/pulsar/SFTTools/SFTvalidate.c
|
2020-05-31 15:11:55 +02:00
|
|
|
===================================================================
|
2020-07-10 19:38:15 +02:00
|
|
|
--- lalapps-6.26.0.orig/src/pulsar/SFTTools/SFTvalidate.c
|
|
|
|
+++ lalapps-6.26.0/src/pulsar/SFTTools/SFTvalidate.c
|
2020-05-31 15:11:55 +02:00
|
|
|
@@ -59,7 +59,7 @@ int main(int argc, char** argv) {
|
|
|
|
/* and read successive SFTs blocks from the file and validate CRC
|
|
|
|
checksums */
|
|
|
|
for (count=0; 1; count++) {
|
|
|
|
- struct headertag2 info,lastinfo;
|
|
|
|
+ struct headertag2 info,lastinfo={};
|
|
|
|
int err=0, swapendian, move, j;
|
|
|
|
|
|
|
|
err=ReadSFTHeader(fp, &info, NULL, &swapendian, 1);
|
2020-07-10 19:38:15 +02:00
|
|
|
Index: lalapps-6.26.0/src/pulsar/HoughFstat/HierarchicalSearch.c
|
2020-05-31 15:11:55 +02:00
|
|
|
===================================================================
|
2020-07-10 19:38:15 +02:00
|
|
|
--- lalapps-6.26.0.orig/src/pulsar/HoughFstat/HierarchicalSearch.c
|
|
|
|
+++ lalapps-6.26.0/src/pulsar/HoughFstat/HierarchicalSearch.c
|
|
|
|
@@ -1255,7 +1255,7 @@ void SetUpSFTs( LALStatus *status, /**
|
2020-05-31 15:11:55 +02:00
|
|
|
REAL8 timebase, tObs, deltaFsft;
|
|
|
|
UINT4 k,numSFTby2;
|
|
|
|
LIGOTimeGPS tStartGPS, tEndGPS, refTimeGPS, tMidGPS;
|
|
|
|
- SFTCatalogSequence catalogSeq;
|
|
|
|
+ SFTCatalogSequence catalogSeq = {};
|
|
|
|
|
|
|
|
REAL8 doppWings, fMin, fMax;
|
|
|
|
REAL8 startTime_freqLo, startTime_freqHi;
|
2020-07-10 19:38:15 +02:00
|
|
|
@@ -1516,7 +1516,7 @@ void ComputeFstatHoughMap(LALStatus *sta
|
2020-05-31 15:11:55 +02:00
|
|
|
LIGOTimeGPSVector *tsMid;
|
|
|
|
REAL8Vector *timeDiffV=NULL;
|
|
|
|
UINT8Vector hist; /* histogram vector */
|
|
|
|
- UINT8Vector histTotal; /* total histogram vector */
|
|
|
|
+ UINT8Vector histTotal = {}; /* total histogram vector */
|
|
|
|
HoughStats stats; /* statistics struct */
|
|
|
|
CHAR *fileStats = NULL;
|
|
|
|
FILE *fpStats = NULL;
|
2020-07-10 19:38:15 +02:00
|
|
|
Index: lalapps-6.26.0/src/pulsar/SFTTools/splitSFTs.c
|
|
|
|
===================================================================
|
|
|
|
--- lalapps-6.26.0.orig/src/pulsar/SFTTools/splitSFTs.c
|
|
|
|
+++ lalapps-6.26.0/src/pulsar/SFTTools/splitSFTs.c
|
|
|
|
@@ -199,7 +199,7 @@ int main( int argc, char **argv )
|
|
|
|
{
|
|
|
|
int arg; /* current command-line argument */
|
|
|
|
unsigned int bin; /* current bin */
|
|
|
|
- struct headertag2 hd, lasthd; /* header of input SFT */
|
|
|
|
+ struct headertag2 hd, lasthd = {}; /* header of input SFT */
|
|
|
|
FILE *fpin; /* currently open input filepointer */
|
|
|
|
FILE *fpout; /* currently open output filepointer */
|
|
|
|
char *oldcomment; /* comment of input SFT */
|