aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorPaul Eggert2013-06-29 08:52:20 -0700
committerPaul Eggert2013-06-29 08:52:20 -0700
commit9c90cc06dd36f217422973ea41663a1f2105296f (patch)
treea48e62dc276027cd616f1c5a76155ce1e5255144 /src/image.c
parent79007321264153e8b4e6bfb9974ae6a99babe8c1 (diff)
downloademacs-9c90cc06dd36f217422973ea41663a1f2105296f.tar.gz
emacs-9c90cc06dd36f217422973ea41663a1f2105296f.zip
Fix minor problems found by static checking.
* coding.c (encode_inhibit_flag, inhibit_flag): New functions. Redo the latter's body to sidestep GCC parenthesization warnings. (setup_coding_system, detect_coding, detect_coding_system): Use them. * coding.c (detect_coding, detect_coding_system): * coding.h (struct undecided_spec): Use bool for boolean. * image.c (QCmax_width, QCmax_height): Now static. * xdisp.c (Fmove_point_visually): Remove unused local.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index d5d5d4053f9..2c288342028 100644
--- a/src/image.c
+++ b/src/image.c
@@ -130,7 +130,7 @@ static void free_color_table (void);
130static unsigned long *colors_in_color_table (int *n); 130static unsigned long *colors_in_color_table (int *n);
131#endif 131#endif
132 132
133Lisp_Object QCmax_width, QCmax_height; 133static Lisp_Object QCmax_width, QCmax_height;
134 134
135/* Code to deal with bitmaps. Bitmaps are referenced by their bitmap 135/* Code to deal with bitmaps. Bitmaps are referenced by their bitmap
136 id, which is just an int that this section returns. Bitmaps are 136 id, which is just an int that this section returns. Bitmaps are