-
Notifications
You must be signed in to change notification settings - Fork 2
Sourcery refactored master branch #6
base: master
Are you sure you want to change the base?
Conversation
byte = (value >> (shift * 8)) & 0xff | ||
return byte | ||
return (value >> (shift * 8)) & 0xff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function u64_get_byte
refactored with the following changes:
- Inline variable that is immediately returned (
inline-immediately-returned-variable
)
hollywood = decodeWiiID(nwc24_id)[3] | ||
return hollywood | ||
return decodeWiiID(nwc24_id)[3] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function NWC24GetHollywoodID
refactored with the following changes:
- Inline variable that is immediately returned (
inline-immediately-returned-variable
)
id_ctr = decodeWiiID(nwc24_id)[4] | ||
return id_ctr | ||
return decodeWiiID(nwc24_id)[4] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function NWC24GetIDCounter
refactored with the following changes:
- Inline variable that is immediately returned (
inline-immediately-returned-variable
)
hardware_model = decodeWiiID(nwc24_id)[1] | ||
return hardware_model | ||
return decodeWiiID(nwc24_id)[1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function NWC24GetHardwareModel
refactored with the following changes:
- Inline variable that is immediately returned (
inline-immediately-returned-variable
)
area_code = decodeWiiID(nwc24_id)[2] | ||
return area_code No newline at end of file | ||
return decodeWiiID(nwc24_id)[2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function NWC24GetAreaCode
refactored with the following changes:
- Inline variable that is immediately returned (
inline-immediately-returned-variable
)
Branch
master
refactored by Sourcery.If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.
See our documentation here.
Run Sourcery locally
Reduce the feedback loop during development by using the Sourcery editor plugin:
Review changes via command line
To manually merge these changes, make sure you're on the
master
branch, then run:Help us improve this pull request!