Mercurial > hg > xemacs-beta
diff src/specifier.c @ 4853:d35e231d347d
fix build problems
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-13 Ben Wing <ben@xemacs.org>
* specifier.c (specifier_instance_from_inst_list):
Don't declare an unused variable, (void) 0 is enough.
* text.h:
Don't use USED_IF_MULE_OR_CHECK_TEXT().
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 13 Jan 2010 19:43:16 -0600 |
parents | f31c12360354 |
children | 6ef8256a020a 19a72041c5ed |
line wrap: on
line diff
--- a/src/specifier.c Wed Jan 13 13:30:17 2010 -0600 +++ b/src/specifier.c Wed Jan 13 19:43:16 2010 -0600 @@ -2813,9 +2813,6 @@ int count = specpdl_depth (), respected_charsets = 0; struct gcpro gcpro1, gcpro2; enum font_specifier_matchspec_stages stage = initial; -#ifdef DEBUG_XEMACS - int non_ascii; -#endif GCPRO2 (specifier, inst_list); @@ -2838,9 +2835,9 @@ #ifdef DEBUG_XEMACS /* This is mostly to have somewhere to set debug breakpoints. */ - if (!EQ(charset, Vcharset_ascii)) + if (!EQ (charset, Vcharset_ascii)) { - non_ascii = 1; + (void) 0; } #endif /* DEBUG_XEMACS */