Skip to content

Conversation

@agalasso
Copy link
Contributor

@agalasso agalasso commented Dec 22, 2025

Guider's CurrentImage is never null

Remove some unnecessary null checks for Guider::CurrentImage().

Although the checks are harmless, they make the code a bit harder
to understand as readers may be wondering about how or why the
current image could be null (it cannot!).

@agalasso agalasso force-pushed the andy/code-cleanup-use-wxClip branch from 6f10a27 to 3376286 Compare December 25, 2025 02:28
@agalasso agalasso force-pushed the andy/guider-CurrentImage-is-never-null branch from 853d2a3 to ec2dda0 Compare December 25, 2025 02:28
@agalasso agalasso force-pushed the andy/code-cleanup-use-wxClip branch from 3376286 to ac4691c Compare December 31, 2025 22:06
Base automatically changed from andy/code-cleanup-use-wxClip to master December 31, 2025 22:06
Remove some unnecessary null checks for Guider::CurrentImage().

Although the checks are harmless, they make the code a bit harder
to understand as readers may be wondering about how or why the
current image could be null (it cannot!).
@agalasso agalasso force-pushed the andy/guider-CurrentImage-is-never-null branch from ec2dda0 to 51b54b8 Compare December 31, 2025 22:06
@agalasso agalasso merged commit a9ce62e into master Dec 31, 2025
4 checks passed
@agalasso agalasso deleted the andy/guider-CurrentImage-is-never-null branch December 31, 2025 22:07
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.

3 participants