Thread (12 messages) flat view 12 messages, 3 authors, 2016-06-15

Re: [PATCH 2/2] branch: clean up repeated strlen

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:14

Hi,

On Wed, 18 Feb 2009, Jeff King wrote:
Commit 45e2b61 fixed the initialization of a "len" struct
parameter via strlen. We can use that to clean up what is
now 3 strlens in a 6-line sequence.

Signed-off-by: Jeff King <redacted>
---
I guess a good compiler could optimize these out, but I think it
actually reads a little bit nicer.
Definitely.  And thanks for the tests!

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help