diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-25 23:24:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-25 23:24:32 +0200 |
| commit | 40fcb67be15ec0680d5dbb5078e5900964ff2ecb (patch) | |
| tree | 2e5b6062bdd189d47b2dee3d0c89b67a27e7379a | |
| parent | b50056a1874bab1fe3310c4e63526780130694ac (diff) | |
Tidy up initialisation.
| -rw-r--r-- | src/wx/job_view.cc | 1 | ||||
| -rw-r--r-- | src/wx/job_view.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc index d358d9f75..aa175816d 100644 --- a/src/wx/job_view.cc +++ b/src/wx/job_view.cc @@ -52,7 +52,6 @@ JobView::JobView(shared_ptr<Job> job, wxWindow* parent, wxWindow* container, wxF , _table(table) , _parent(parent) , _container(container) - , _gauge(0) { } diff --git a/src/wx/job_view.h b/src/wx/job_view.h index f5cffbefb..a3ec59bf5 100644 --- a/src/wx/job_view.h +++ b/src/wx/job_view.h @@ -81,7 +81,7 @@ private: wxWindow* _parent; wxWindow* _container; - wxGauge* _gauge; + wxGauge* _gauge = nullptr; wxStaticText* _message; wxButton* _cancel; wxButton* _details; |
