From: Lloyd Subject: Re: wg(4) logging enhancement - revised patch To: "Kirill A. Korinsky" Cc: Vitaliy Makkoveev , Vitaliy Makkoveev , Claudio Jeker , Theo de Raadt , Stuart Henderson , "tech@openbsd.org" Date: Thu, 23 Jan 2025 03:33:09 +0000 Kirill A. Korinsky wrote: > I think you should move a declaration of ipaddr to the begining of the > functio, to match the style. Like you did it before. I did this with the intention that not all code paths in those functions necessitate printing a debug message and thus allocating a buffer. Is this a false assumption? Will the compiler do whatever it wants with automatically allocated variables?