Re: [PATCH net] ice: Fix freeing uninitialized pointers

Dan Carpenter
2024-03-22T05:30:32Z

On Thu, Mar 21, 2024 at 04:20:09PM -0400, Julia Lawall wrote:
> Does one prefer an initialization of null at the top of the function
> or an initialization to a meaningful value in the middle of the
> function?

I prefer at the top, but it will be interesting to see where the
consensus is. Kent Overstreet has said we should move away from
declarations at the top generally. I don't know if anyone else agrees
with him though.

regards,
dan carpenter