Skip to content

Commit

Permalink
fix more unitialized pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
sdobbs committed Feb 6, 2019
1 parent c9cc9c5 commit b54d363
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/libraries/BCAL/DBCALGeometry_factory.h
Expand Up @@ -18,7 +18,7 @@ class DBCALGeometry_factory:public JFactory<DBCALGeometry>{
DBCALGeometry_factory(){bcalgeometry=NULL;};
~DBCALGeometry_factory(){};

DBCALGeometry *bcalgeometry;
DBCALGeometry *bcalgeometry = nullptr;

//------------------
// brun
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/CCAL/DCCALGeometry_factory.h
Expand Up @@ -16,7 +16,7 @@ class DCCALGeometry_factory:public jana::JFactory<DCCALGeometry>{
DCCALGeometry_factory(){};
~DCCALGeometry_factory(){};

DCCALGeometry *ccalgeometry;
DCCALGeometry *ccalgeometry = nullptr;

//------------------
// brun
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/DAQ/Df250EmulatorAlgorithm_factory_v2.h
Expand Up @@ -17,7 +17,7 @@ class Df250EmulatorAlgorithm_factory_v1:public jana::JFactory<Df250EmulatorAlgor
~Df250EmulatorAlgorithm_factory_v1(){};
const char* Tag(void){return "v1";}

Df250EmulatorAlgorithm *emulator
Df250EmulatorAlgorithm *emulator = nullptr;

//------------------
// brun
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/PAIR_SPECTROMETER/DLumi_factory.h
Expand Up @@ -12,7 +12,7 @@ class DLumi_factory:public JFactory<DLumi> {
DLumi_factory(){};
~DLumi_factory(){};

DLumi *lumi;
DLumi *lumi = nullptr;

//------------------
// brun
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/PAIR_SPECTROMETER/DPSGeometry_factory.h
Expand Up @@ -12,7 +12,7 @@ class DPSGeometry_factory:public JFactory<DPSGeometry> {
DPSGeometry_factory(){psgeometry=NULL;};
~DPSGeometry_factory(){};

DPSGeometry *psgeometry;
DPSGeometry *psgeometry = nullptr;

//------------------
// brun
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/PID/DParticleID_factory_PID1.h
Expand Up @@ -17,7 +17,7 @@ class DParticleID_factory_PID1:public jana::JFactory<DParticleID>{
~DParticleID_factory_PID1(){};
const char* Tag(void){return "PID1";}

DParticleID_PID1 *particleid;
DParticleID_PID1 *particleid = nullptr;

//------------------
// brun
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/TTAB/DTranslationTable_factory.h
Expand Up @@ -19,7 +19,7 @@ class DTranslationTable_factory:public jana::JFactory<DTranslationTable>{
DTranslationTable_factory(){};
~DTranslationTable_factory(){};

DTranslationTable *tt=NULL;
DTranslationTable *tt = nullptr;

//------------------
// brun
Expand Down

0 comments on commit b54d363

Please sign in to comment.