Skip to content

Trying to make the code more readable#12

Open
ghost wants to merge 1 commit into
MachineKit-ubcfrom
unknown repository
Open

Trying to make the code more readable#12
ghost wants to merge 1 commit into
MachineKit-ubcfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 2, 2017

Hi all,

I'm running some C code analysis tool that pointed me to this small code fragment. I'm suggesting this patch to try to make the source code more understandable by removing mixing of ternary if statements with attributions.

Would you guys agree with this type of changes? The tools pointed me to almost 40 cases like this one in the source code of machinekit.

@cdsteinkuehler
Copy link
Copy Markdown
Owner

cdsteinkuehler commented Sep 2, 2017 via email

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