Atri Bhattacharya
0788846317
- Update to version 7.4.0 - Drop lalapps-gcc11-array-bounds-decl.patch: upstreamed. - Do not pass "-Wno-enum-conversion" to CFLAGS as XLALERROR issues have been fixed (probably with version 7.1.0). OBS-URL: https://build.opensuse.org/request/show/943654 OBS-URL: https://build.opensuse.org/package/show/science/lalapps?expand=0&rev=14
49 lines
2.3 KiB
Diff
49 lines
2.3 KiB
Diff
Index: lalapps-7.4.0/src/string/StringSearch.c
|
|
===================================================================
|
|
--- lalapps-7.4.0.orig/src/string/StringSearch.c
|
|
+++ lalapps-7.4.0/src/string/StringSearch.c
|
|
@@ -201,7 +201,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-7.4.0/src/pulsar/HoughFstat/HierarchicalSearch.c
|
|
===================================================================
|
|
--- lalapps-7.4.0.orig/src/pulsar/HoughFstat/HierarchicalSearch.c
|
|
+++ lalapps-7.4.0/src/pulsar/HoughFstat/HierarchicalSearch.c
|
|
@@ -1255,7 +1255,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;
|
|
@@ -1516,7 +1516,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;
|
|
Index: lalapps-7.4.0/src/pulsar/SFTTools/splitSFTs.c
|
|
===================================================================
|
|
--- lalapps-7.4.0.orig/src/pulsar/SFTTools/splitSFTs.c
|
|
+++ lalapps-7.4.0/src/pulsar/SFTTools/splitSFTs.c
|
|
@@ -204,7 +204,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 */
|