diff options
| author | Paul Eggert | 2013-06-29 08:52:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-06-29 08:52:20 -0700 |
| commit | 9c90cc06dd36f217422973ea41663a1f2105296f (patch) | |
| tree | a48e62dc276027cd616f1c5a76155ce1e5255144 /src/image.c | |
| parent | 79007321264153e8b4e6bfb9974ae6a99babe8c1 (diff) | |
| download | emacs-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.c | 2 |
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); | |||
| 130 | static unsigned long *colors_in_color_table (int *n); | 130 | static unsigned long *colors_in_color_table (int *n); |
| 131 | #endif | 131 | #endif |
| 132 | 132 | ||
| 133 | Lisp_Object QCmax_width, QCmax_height; | 133 | static 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 |