]> code.delx.au - gnu-emacs/blobdiff - lwlib/lwlib.c
From Lawrence Mitchell <wence@gmx.li>: Don't hang in browse-url-xdg-open.
[gnu-emacs] / lwlib / lwlib.c
index 290ce091301c181af5ae63685776f7a55cb0f579..9d8ec3330d34c4409f49704166bee47bde552c04 100644 (file)
@@ -422,7 +422,7 @@ safe_strcmp (const char *s1, const char *s2)
              (nc == STRUCTURAL_CHANGE ? "structural" : "???")))),      \
           nc, desc, a1, a2)
 #else
-# define EXPLAIN(name, oc, nc, desc, a1, a2)
+# define EXPLAIN(name, oc, nc, desc, a1, a2) ((void) 0)
 #endif
 
 
@@ -912,8 +912,9 @@ destroy_one_instance (widget_instance *instance)
        xaw_destroy_instance (instance);
       else
 #endif
-       /* do not remove the empty statement */
-       ;
+       {
+         /* Empty compound statement to terminate if-then-else chain.  */
+       }
     }
 
   free_widget_instance (instance);
@@ -978,7 +979,7 @@ lw_destroy_all_pop_ups (void)
 }
 
 #ifdef USE_MOTIF
-extern Widget first_child (/* Widget */);      /* garbage */
+extern Widget first_child (Widget);    /* garbage */
 #endif
 
 Widget