Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Jun 2013 15:52:20 +0000 (08:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Jun 2013 15:52:20 +0000 (08:52 -0700)
commit9c90cc06dd36f217422973ea41663a1f2105296f
treea48e62dc276027cd616f1c5a76155ce1e5255144
parent79007321264153e8b4e6bfb9974ae6a99babe8c1
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.
src/ChangeLog
src/coding.c
src/coding.h
src/image.c
src/xdisp.c