nasa / CF

The Core Flight System (cFS) CFDP application.
Apache License 2.0
77 stars 45 forks source link

Fix #109, Move variables declared mid-function to the top #333

Closed thnkslprpt closed 1 year ago

thnkslprpt commented 1 year ago

Checklist

Describe the contribution Fixes #109 All variables (that I could find) that were declared mid-function were moved to the top of their respective functions.

Testing performed Just the CI GitHub actions so far.

Expected behavior changes Aligns CF with the rest of cFS and the relevant coding guidelines. Makes it easier and quicker to identify all variables in a function.

Contributor Info @thnkslprpt

dzbaker commented 1 year ago

@thnkslprpt Can you run the Clang formatter?

thnkslprpt commented 1 year ago

@thnkslprpt Can you run the Clang formatter?

Yes OK - I think i got it working now.