Hacker News new | ask | show | jobs
by billytetrud 3165 days ago
Why does it have the do-while(0)?
1 comments

It's a safeguard because {} statement blocks are optional [1].

[1] https://stackoverflow.com/a/923833/2561675