comparison 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
comparison
equal deleted inserted replaced
4852:e0138eaaca0c 4853:d35e231d347d
2811 Lisp_Specifier *sp; 2811 Lisp_Specifier *sp;
2812 Lisp_Object device, charset = Qnil, rest; 2812 Lisp_Object device, charset = Qnil, rest;
2813 int count = specpdl_depth (), respected_charsets = 0; 2813 int count = specpdl_depth (), respected_charsets = 0;
2814 struct gcpro gcpro1, gcpro2; 2814 struct gcpro gcpro1, gcpro2;
2815 enum font_specifier_matchspec_stages stage = initial; 2815 enum font_specifier_matchspec_stages stage = initial;
2816 #ifdef DEBUG_XEMACS
2817 int non_ascii;
2818 #endif
2819 2816
2820 GCPRO2 (specifier, inst_list); 2817 GCPRO2 (specifier, inst_list);
2821 2818
2822 sp = XSPECIFIER (specifier); 2819 sp = XSPECIFIER (specifier);
2823 device = DOMAIN_DEVICE (domain); 2820 device = DOMAIN_DEVICE (domain);
2836 { 2833 {
2837 charset = Ffind_charset(XCAR(matchspec)); 2834 charset = Ffind_charset(XCAR(matchspec));
2838 2835
2839 #ifdef DEBUG_XEMACS 2836 #ifdef DEBUG_XEMACS
2840 /* This is mostly to have somewhere to set debug breakpoints. */ 2837 /* This is mostly to have somewhere to set debug breakpoints. */
2841 if (!EQ(charset, Vcharset_ascii)) 2838 if (!EQ (charset, Vcharset_ascii))
2842 { 2839 {
2843 non_ascii = 1; 2840 (void) 0;
2844 } 2841 }
2845 #endif /* DEBUG_XEMACS */ 2842 #endif /* DEBUG_XEMACS */
2846 2843
2847 if (!NILP(XCDR(matchspec))) 2844 if (!NILP(XCDR(matchspec)))
2848 { 2845 {