diff options
| author | Stefan Monnier | 2011-02-18 12:37:30 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-02-18 12:37:30 -0500 |
| commit | cbe81f1d96ca482c15d583cfd4a196d38af87972 (patch) | |
| tree | 8f0bbba3d3d444ea812d696e3d4cb45eb1543486 /src/alloc.c | |
| parent | aa56f3613e788df186bef09e2b5414428140377a (diff) | |
| download | emacs-cbe81f1d96ca482c15d583cfd4a196d38af87972.tar.gz emacs-cbe81f1d96ca482c15d583cfd4a196d38af87972.zip | |
* alloc.c (make_unibyte_string): Don't SET_UNIBYTE redundantly.
* process.c (Fstart_process, Fmake_serial_process)
(Fmake_network_process, server_accept_connection):
Use empty_unibyte_string.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index e8b8f45e9b1..d7006ca6bfd 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -2301,7 +2301,6 @@ make_unibyte_string (const char *contents, EMACS_INT length) | |||
| 2301 | register Lisp_Object val; | 2301 | register Lisp_Object val; |
| 2302 | val = make_uninit_string (length); | 2302 | val = make_uninit_string (length); |
| 2303 | memcpy (SDATA (val), contents, length); | 2303 | memcpy (SDATA (val), contents, length); |
| 2304 | STRING_SET_UNIBYTE (val); | ||
| 2305 | return val; | 2304 | return val; |
| 2306 | } | 2305 | } |
| 2307 | 2306 | ||