On Thu, 9 Apr 2026 12:05:35 +0300
Andrew Rybchenko <[email protected]> wrote:

> >>
> >> As far as I know typically variable declaration and code are not mixed
> >> in DPDK.
> >>  
> > 
> > AFAIK That used to be the case because early versions of DPDK targetting a
> > very early C standard. More recently, we've started allowing this sort of
> > use, which makes the code more readable IMHO and easier to work with too as
> > commenting out blocks when debugging leads to fewer unused variable 
> > warnings.
> > 
> > /Bruce  
> 
> Bruce, thanks for the clarification.


I started doing this more to avoid uninitalized variable hazards.

Reply via email to