diff options
| author | Karl Heuer | 1994-03-25 00:42:47 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-03-25 00:42:47 +0000 |
| commit | abdda982d7f24310ccd953242050e6a32415251c (patch) | |
| tree | 6825a1923863ec3b13c227522cd07a6bb3927c2d /src | |
| parent | 9d2d1dd88ccc5efb63754d47bee26df61067bab5 (diff) | |
| download | emacs-abdda982d7f24310ccd953242050e6a32415251c.tar.gz emacs-abdda982d7f24310ccd953242050e6a32415251c.zip | |
(x_window_to_scroll_bar, x_new_font): Use assignment, not initialization.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c index 6bc4b1a2f1d..2e3e8a4d3e3 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2024,9 +2024,9 @@ x_window_to_scroll_bar (window_id) | |||
| 2024 | XGCTYPE (tail) == Lisp_Cons; | 2024 | XGCTYPE (tail) == Lisp_Cons; |
| 2025 | tail = XCONS (tail)->cdr) | 2025 | tail = XCONS (tail)->cdr) |
| 2026 | { | 2026 | { |
| 2027 | Lisp_Object frame = XCONS (tail)->car; | 2027 | Lisp_Object frame, bar, condemned; |
| 2028 | Lisp_Object bar, condemned; | ||
| 2029 | 2028 | ||
| 2029 | frame = XCONS (tail)->car; | ||
| 2030 | /* All elements of Vframe_list should be frames. */ | 2030 | /* All elements of Vframe_list should be frames. */ |
| 2031 | if (XGCTYPE (frame) != Lisp_Frame) | 2031 | if (XGCTYPE (frame) != Lisp_Frame) |
| 2032 | abort (); | 2032 | abort (); |
| @@ -4500,8 +4500,9 @@ x_new_font (f, fontname) | |||
| 4500 | } | 4500 | } |
| 4501 | 4501 | ||
| 4502 | { | 4502 | { |
| 4503 | Lisp_Object lispy_name = build_string (fontname); | 4503 | Lisp_Object lispy_name; |
| 4504 | 4504 | ||
| 4505 | lispy_name = build_string (fontname); | ||
| 4505 | 4506 | ||
| 4506 | /* Free the information from XListFonts. The data | 4507 | /* Free the information from XListFonts. The data |
| 4507 | we actually retain comes from XLoadQueryFont. */ | 4508 | we actually retain comes from XLoadQueryFont. */ |