One thing coming in future C revisions is C++ like variable declarations in cond...

@mos_8502@studio8502.ca

One thing coming in future C revisions is C++ like variable declarations in conditional and switch statements.

if (auto myFoo = foo_new()) {
foo_do_bar(myFoo);
}

such that myFoo is only in scope inside the braces. That is, make if work basically like how you can declare in for.