by azinman2 · 1y ago · 0 comments
This practice is very bug prone, and has lead to high profile failures like goto fail
That particular git repository has history imported from 1996 onward, but Postgres was a very established project by then: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit...
These days people might not blink an eye at gofmt/rustfmt rewriting the AST to clean it up, but those toolchains were built that way largley because automating anything about large C codebases is so hard.
Presumably the last if statement in the diff.
Personally I think the indentation does a good enough job here.