Subject: Re: bug#23771: Eliminating compiler warnings

From: Paul Eggert <[email-masked]>
Date: Thu, 16 Jun 2016 08:50:16 -0700

Eli Zaretskii wrote:
> One way of fixing this is to add those braces.

The accepted way to fix this is to use a do-while. See, e.g., the definition of 
DEFVAR_LISP in lisp.h.

The warning is helpful to catch stray semicolons, e.g., 'if (n == 0); ...'.