[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106616: * coding.c (encode_designati
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106616: * coding.c (encode_designation_at_bol): Don't use uninitialized |
Date: |
Mon, 05 Dec 2011 01:05:10 -0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106616
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2011-12-05 01:05:10 -0800
message:
* coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).
modified:
src/ChangeLog
src/coding.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-12-05 07:48:29 +0000
+++ b/src/ChangeLog 2011-12-05 09:05:10 +0000
@@ -1,3 +1,8 @@
+2011-12-05 Paul Eggert <address@hidden>
+
+ * coding.c (encode_designation_at_bol): Don't use uninitialized
+ local variable (Bug#9318).
+
2011-12-05 Kenichi Handa <address@hidden>
* ftfont.c (get_adstyle_property): If the font is not BDF nor PCF,
=== modified file 'src/coding.c'
--- a/src/coding.c 2011-12-05 07:03:31 +0000
+++ b/src/coding.c 2011-12-05 09:05:10 +0000
@@ -4356,7 +4356,7 @@
int *charbuf, int *charbuf_end,
unsigned char *dst)
{
- unsigned char *orig;
+ unsigned char *orig = dst;
struct charset *charset;
/* Table of charsets to be designated to each graphic register. */
int r[4];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106616: * coding.c (encode_designation_at_bol): Don't use uninitialized,
Paul Eggert <=