aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 4dd04bf0b50..06d04781789 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2370,8 +2370,9 @@ This makes STRING unibyte and may change its length. */)
2370 (string) 2370 (string)
2371 Lisp_Object string; 2371 Lisp_Object string;
2372{ 2372{
2373 int len = SBYTES (string); 2373 int len;
2374 CHECK_STRING (string); 2374 CHECK_STRING (string);
2375 len = SBYTES (string);
2375 bzero (SDATA (string), len); 2376 bzero (SDATA (string), len);
2376 STRING_SET_CHARS (string, len); 2377 STRING_SET_CHARS (string, len);
2377 STRING_SET_UNIBYTE (string); 2378 STRING_SET_UNIBYTE (string);