From f462f0750f4cd3537ab1da5cf8ed64e08e55ea46 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 26 Aug 2013 14:31:50 -0700 Subject: Fix minor problems found by static checking. * image.c (XGetPixel, XPutPixel) [HAVE_NS]: Now static. (expect): Avoid nested-if warning. (x_build_heuristic_mask) [HAVE_NS]: Avoid unused-var warning. * nsmenu.m (fillWithWidgetValue:): Avoid type warning. * nsterm.h, nsterm.m (ns_select): * xgselect.c, xgselect.h (xg_select): Adjust signature to better match pselect's. * nsterm.m (ns_select): Don't set *TIMEOUT, since pselect doesn't. * regex.c (whitespace_regexp): Now const_re_char *, to avoid diagnostic about assigning const char * to it. * xfaces.c (x_display_info) [HAVE_NS]: Remove; unused. --- src/ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/ChangeLog') diff --git a/src/ChangeLog b/src/ChangeLog index bece374f080..01f3093b6dd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,19 @@ +2013-08-26 Paul Eggert + + Fix minor problems found by static checking. + * image.c (XGetPixel, XPutPixel) [HAVE_NS]: Now static. + (expect): Avoid nested-if warning. + (x_build_heuristic_mask) [HAVE_NS]: Avoid unused-var warning. + * nsmenu.m (fillWithWidgetValue:): Avoid type warning. + * nsterm.h, nsterm.m (ns_select): + * xgselect.c, xgselect.h (xg_select): + Adjust signature to better match pselect's. + * nsterm.m (ns_select): + Don't set *TIMEOUT, since pselect doesn't. + * regex.c (whitespace_regexp): Now const_re_char *, to avoid + diagnostic about assigning const char * to it. + * xfaces.c (x_display_info) [HAVE_NS]: Remove; unused. + 2013-08-26 Stefan Monnier * lread.c (substitute_object_recurse): Handle hash-tables as well -- cgit v1.3