Re: [PATCH] blame: move blame_entry duplication to add_blame_entry()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 10.03.2017 um 09:32 schrieb Jeff King:
On Fri, Mar 10, 2017 at 01:12:59AM +0100, René Scharfe wrote:

All callers of add_blame_entry() allocate and copy the second argument.
Let the function do it for them, reducing code duplication.

I assume you found this due to the DUPLICATE() discussion elsewhere.

Indeed, your grep command in that discussion showed them.

René



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]