Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed unnecessary if-statement #1944

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

Robpaa
Copy link
Contributor

@Robpaa Robpaa commented Apr 17, 2024

Removes unnecessary if-statement in boot_serial.c
Closes #1940

@nordicjm nordicjm requested a review from de-nordic April 17, 2024 14:43
@nordicjm
Copy link
Collaborator

Commit needs to be signed off

Copy link
Collaborator

@de-nordic de-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit missing signoff and area in subject (boot:).

@Robpaa Robpaa force-pushed the fix-boot-serial-if branch 2 times, most recently from cb26c2f to 708dcb5 Compare April 18, 2024 06:16
@Robpaa Robpaa changed the title Removed unnecessary if-statment Removed unnecessary if-statement Apr 18, 2024
If-statement checks if length is greater than some value right after a check if it is equal to the same value.
This will never be true.

Signed-off-by: Robert Paananen <robert@paananen.nu>
@Robpaa
Copy link
Contributor Author

Robpaa commented Apr 18, 2024

Struggling with getting the CI to accept my Signed-off, I might have mixed different emails when creating this commit. Hopefully it works now 😄

@nordicjm nordicjm requested a review from de-nordic April 18, 2024 08:25
@nordicjm nordicjm merged commit 556b32a into mcu-tools:main Apr 18, 2024
55 checks passed
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.

Unnecessary if-statement in boot_serial.c
3 participants