Index: lalapps-6.24.0/src/string/StringSearch.c =================================================================== --- lalapps-6.24.0.orig/src/string/StringSearch.c +++ lalapps-6.24.0/src/string/StringSearch.c @@ -203,7 +203,7 @@ int main(int argc,char *argv[]) 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; Index: lalapps-6.24.0/src/pulsar/SFTTools/SFTvalidate.c =================================================================== --- lalapps-6.24.0.orig/src/pulsar/SFTTools/SFTvalidate.c +++ lalapps-6.24.0/src/pulsar/SFTTools/SFTvalidate.c @@ -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); Index: lalapps-6.24.0/src/pulsar/SFTTools/SFTdumpheader.c =================================================================== --- lalapps-6.24.0.orig/src/pulsar/SFTTools/SFTdumpheader.c +++ lalapps-6.24.0/src/pulsar/SFTTools/SFTdumpheader.c @@ -54,7 +54,7 @@ int main(int argc, char **argv) { /* and read successive SFTs blocks from the file and print headers */ for (count=0; 1; count++) { - struct headertag2 info,lastinfo; + struct headertag2 info,lastinfo={}; int err=0, swapendian, move; char *mycomment; Index: lalapps-6.24.0/src/pulsar/SFTTools/SFTdumpall.c =================================================================== --- lalapps-6.24.0.orig/src/pulsar/SFTTools/SFTdumpall.c +++ lalapps-6.24.0/src/pulsar/SFTTools/SFTdumpall.c @@ -55,7 +55,7 @@ int main(int argc, char **argv) { /* and read successive SFTs blocks from the file and print headers */ for (count=0; 1; count++) { - struct headertag2 info, lastinfo; + struct headertag2 info, lastinfo={}; int err=0, swapendian, move; char *mycomment; int whence = (int)ftell(fp); Index: lalapps-6.24.0/src/pulsar/HoughFstat/HierarchicalSearch.c =================================================================== --- lalapps-6.24.0.orig/src/pulsar/HoughFstat/HierarchicalSearch.c +++ lalapps-6.24.0/src/pulsar/HoughFstat/HierarchicalSearch.c @@ -1270,7 +1270,7 @@ void SetUpSFTs( LALStatus *status, /** 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; @@ -1531,7 +1531,7 @@ void ComputeFstatHoughMap(LALStatus *sta 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;