Andreas Rheinhardt (12021-07-18): > I pushed this to fix the warning, although I'd like to hear other > peoples' opinion on whether the warning should no longer be enabled.
I personally consider it is good code hygiene to group variable declarations. It reduces diff noise when we need to use the same variable earlier. It makes it easier to spot if we already have the variable we need or if we are about to redeclare one. I have used languages where variables could not be declared earlier, I still use languages where declaring is nor idiomatic at all, I have tried writing C with on-the-spot declarations and came back from it. It really makes the code harder to maintain. Regards, -- Nicolas George
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".