diff options
| author | Paul Eggert | 2011-12-05 01:05:10 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-12-05 01:05:10 -0800 |
| commit | 75a3b399a3851210b3384a49587477af165f67e3 (patch) | |
| tree | f9cee79653ac6d8d02d19c24f1f21468191287ae /src/coding.c | |
| parent | fa46310344375ef5c114cbb94d4acea39ac29239 (diff) | |
| download | emacs-75a3b399a3851210b3384a49587477af165f67e3.tar.gz emacs-75a3b399a3851210b3384a49587477af165f67e3.zip | |
* coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index b1743076630..537f69ebe1f 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -4356,7 +4356,7 @@ encode_designation_at_bol (struct coding_system *coding, | |||
| 4356 | int *charbuf, int *charbuf_end, | 4356 | int *charbuf, int *charbuf_end, |
| 4357 | unsigned char *dst) | 4357 | unsigned char *dst) |
| 4358 | { | 4358 | { |
| 4359 | unsigned char *orig; | 4359 | unsigned char *orig = dst; |
| 4360 | struct charset *charset; | 4360 | struct charset *charset; |
| 4361 | /* Table of charsets to be designated to each graphic register. */ | 4361 | /* Table of charsets to be designated to each graphic register. */ |
| 4362 | int r[4]; | 4362 | int r[4]; |