Skip to content

Commit

Permalink
Intialize potentially unused pointer to avoid seg faults
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored and gaede committed Nov 23, 2022
1 parent 5b0fcdb commit 3a7ddab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Refitting/include/SiliconTracking_MarlinTrk.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class SiliconTracking_MarlinTrk : public Processor {
// histogram member variables

bool _createDiagnosticsHistograms;
DiagnosticsHistograms::Histograms* _histos ;
DiagnosticsHistograms::Histograms* _histos{nullptr};


int _ntriplets, _ntriplets_good, _ntriplets_2MCP, _ntriplets_3MCP, _ntriplets_1MCP_Bad, _ntriplets_bad;
Expand Down

0 comments on commit 3a7ddab

Please sign in to comment.