Hacker News new | ask | show | jobs
by jwilk 2848 days ago
do … while(0) is a well-know method of writing multi-statement macros:

http://c-faq.com/cpp/multistmt.html

while … while(0) looks like a mistake?