Skip to content

Fix last 4 volatile warnings#3256

Merged
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_volatile-warnings-2
Jan 7, 2025
Merged

Fix last 4 volatile warnings#3256
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_volatile-warnings-2

Conversation

@BsAtHome
Copy link
Contributor

@BsAtHome BsAtHome commented Jan 7, 2025

There are a couple of volatile argument warnings not covered by #3240.
These are now also fixed using the underlying type. Funnily enough, two of the six functions already did so from the start (to_python(bool) and to_python(double)). This PR just brings them in line with each other and fixes the warnings.

This is in line with the to_python(bool) and to_python(double) versions of the function.
@andypugh andypugh merged commit bc86e90 into LinuxCNC:master Jan 7, 2025
10 checks passed
@BsAtHome BsAtHome deleted the fix_volatile-warnings-2 branch January 8, 2025 10:14
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