Skip to content

Remove unneeded null checks around CameraConfigDialogCtrlSet::m_binning#1420

Merged
agalasso merged 1 commit intomasterfrom
andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning
Dec 31, 2025
Merged

Remove unneeded null checks around CameraConfigDialogCtrlSet::m_binning#1420
agalasso merged 1 commit intomasterfrom
andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning

Conversation

@agalasso
Copy link
Copy Markdown
Contributor

@agalasso agalasso commented Dec 24, 2025

Remove unneeded null checks around CameraConfigDialogCtrlSet::m_binning

CameraConfigDialogCtrlSet::m_binning is initialized in the constructor and is
never null.

Small code simplification removing the null checks.

@agalasso agalasso force-pushed the andy/software-binning-support branch from 778d4b7 to 4ccec25 Compare December 24, 2025 17:58
@agalasso agalasso force-pushed the andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning branch from bd2246a to 8907556 Compare December 24, 2025 17:58
@agalasso agalasso force-pushed the andy/software-binning-support branch from 4ccec25 to 47e5cb4 Compare December 24, 2025 22:00
@agalasso agalasso force-pushed the andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning branch from 8907556 to 2e7486a Compare December 24, 2025 22:00
@agalasso agalasso force-pushed the andy/software-binning-support branch from 47e5cb4 to 8013c33 Compare December 25, 2025 02:32
@agalasso agalasso force-pushed the andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning branch from 2e7486a to 2415daf Compare December 25, 2025 02:32
@agalasso agalasso mentioned this pull request Dec 28, 2025
@agalasso agalasso force-pushed the andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning branch from b108152 to 2415daf Compare December 31, 2025 22:04
@agalasso agalasso force-pushed the andy/software-binning-support branch from 8013c33 to 5704847 Compare December 31, 2025 22:10
Base automatically changed from andy/software-binning-support to master December 31, 2025 22:10
CameraConfigDialogCtrlSet::m_binning is initialized in the constructor and is
never null.

Small code simplification removing the null checks.
@agalasso agalasso force-pushed the andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning branch from 2415daf to 6c97918 Compare December 31, 2025 22:10
@agalasso agalasso merged commit 4a5a91a into master Dec 31, 2025
4 checks passed
@agalasso agalasso deleted the andy/remove-unneeded-null-checks-CameraConfigDialogCtrlSet-m_binning branch December 31, 2025 22:10
Eyeke2 pushed a commit to Eyeke2/phd2.planetary that referenced this pull request Mar 6, 2026
…ng (OpenPHDGuiding#1420)

CameraConfigDialogCtrlSet::m_binning is initialized in the constructor and is
never null.

Small code simplification removing the null checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants