Skip to content

fmt: slim down fmt_hex_bytes() a bit#5

Merged
aabadie merged 1 commit intoaabadie:pr/fmt_hex_bytesfrom
kaspar030:pr8343
Jan 10, 2018
Merged

fmt: slim down fmt_hex_bytes() a bit#5
aabadie merged 1 commit intoaabadie:pr/fmt_hex_bytesfrom
kaspar030:pr8343

Conversation

@kaspar030
Copy link
Copy Markdown
Collaborator

No description provided.

return 0;
}

size_t final_len = len / 2;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

maybe use len >> 1 ?

@aabadie aabadie merged commit 1f75ef6 into aabadie:pr/fmt_hex_bytes Jan 10, 2018
@kaspar030 kaspar030 deleted the pr8343 branch January 10, 2018 13:56
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