diff options
| author | Paul Eggert | 2011-03-07 23:12:45 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-07 23:12:45 -0800 |
| commit | c4a63b128d3f8405fa1037e0c22bd8fabcbdd123 (patch) | |
| tree | a75ea45e3cd0ed891224510880b341129d28966a /src/coding.c | |
| parent | 413bb2db753528a2e4bd70f8bbabcd232b11b6d7 (diff) | |
| download | emacs-c4a63b128d3f8405fa1037e0c22bd8fabcbdd123.tar.gz emacs-c4a63b128d3f8405fa1037e0c22bd8fabcbdd123.zip | |
* coding.c: (decode_coding_object, encode_coding_object, detect_coding_system):
Mark variables that gcc -Wuninitialized does not deduce are never
used uninitialized.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/coding.c b/src/coding.c index c9d32489351..75fc92eee8d 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -7658,12 +7658,12 @@ decode_coding_object (struct coding_system *coding, | |||
| 7658 | Lisp_Object dst_object) | 7658 | Lisp_Object dst_object) |
| 7659 | { | 7659 | { |
| 7660 | int count = SPECPDL_INDEX (); | 7660 | int count = SPECPDL_INDEX (); |
| 7661 | unsigned char *destination; | 7661 | unsigned char *destination IF_LINT (= NULL); |
| 7662 | EMACS_INT dst_bytes; | 7662 | EMACS_INT dst_bytes IF_LINT (= 0); |
| 7663 | EMACS_INT chars = to - from; | 7663 | EMACS_INT chars = to - from; |
| 7664 | EMACS_INT bytes = to_byte - from_byte; | 7664 | EMACS_INT bytes = to_byte - from_byte; |
| 7665 | Lisp_Object attrs; | 7665 | Lisp_Object attrs; |
| 7666 | int saved_pt = -1, saved_pt_byte; | 7666 | int saved_pt = -1, saved_pt_byte IF_LINT (= 0); |
| 7667 | int need_marker_adjustment = 0; | 7667 | int need_marker_adjustment = 0; |
| 7668 | Lisp_Object old_deactivate_mark; | 7668 | Lisp_Object old_deactivate_mark; |
| 7669 | 7669 | ||
| @@ -7851,7 +7851,7 @@ encode_coding_object (struct coding_system *coding, | |||
| 7851 | EMACS_INT chars = to - from; | 7851 | EMACS_INT chars = to - from; |
| 7852 | EMACS_INT bytes = to_byte - from_byte; | 7852 | EMACS_INT bytes = to_byte - from_byte; |
| 7853 | Lisp_Object attrs; | 7853 | Lisp_Object attrs; |
| 7854 | int saved_pt = -1, saved_pt_byte; | 7854 | int saved_pt = -1, saved_pt_byte IF_LINT (= 0); |
| 7855 | int need_marker_adjustment = 0; | 7855 | int need_marker_adjustment = 0; |
| 7856 | int kill_src_buffer = 0; | 7856 | int kill_src_buffer = 0; |
| 7857 | Lisp_Object old_deactivate_mark; | 7857 | Lisp_Object old_deactivate_mark; |
| @@ -8184,8 +8184,8 @@ detect_coding_system (const unsigned char *src, | |||
| 8184 | base_category = XINT (CODING_ATTR_CATEGORY (attrs)); | 8184 | base_category = XINT (CODING_ATTR_CATEGORY (attrs)); |
| 8185 | if (base_category == coding_category_undecided) | 8185 | if (base_category == coding_category_undecided) |
| 8186 | { | 8186 | { |
| 8187 | enum coding_category category; | 8187 | enum coding_category category IF_LINT (= 0); |
| 8188 | struct coding_system *this; | 8188 | struct coding_system *this IF_LINT (= NULL); |
| 8189 | int c, i; | 8189 | int c, i; |
| 8190 | 8190 | ||
| 8191 | /* Skip all ASCII bytes except for a few ISO2022 controls. */ | 8191 | /* Skip all ASCII bytes except for a few ISO2022 controls. */ |