diff options
| author | Pavel Janík | 2001-10-24 07:05:01 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-10-24 07:05:01 +0000 |
| commit | 3b552d56d44a5344cfb15418836860eb01d80744 (patch) | |
| tree | 610038692c5572b9bb793569686d3dd0b302ce3f /src | |
| parent | 15c565acc122f1d9d32f8902a645c67d9ac0fc5d (diff) | |
| download | emacs-3b552d56d44a5344cfb15418836860eb01d80744.tar.gz emacs-3b552d56d44a5344cfb15418836860eb01d80744.zip | |
(display_prop_string_p): Remove unused local declaration
of `Qwhen'.
(single_display_prop_string_p): Remove unused local declarations
of `Qwhen' and `Qmargin'.
(string_buffer_position): Remove unused variable `around'.
(store_frame_title): Remove unused variable `width'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/xdisp.c | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f34199c8a34..c369e7c63cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2001-10-24 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 1 | 2001-10-24 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
| 2 | 2 | ||
| 3 | * xdisp.c: (display_prop_string_p): Remove unused local declaration | ||
| 4 | of `Qwhen'. | ||
| 5 | (single_display_prop_string_p): Remove unused local declarations | ||
| 6 | of `Qwhen' and `Qmargin'. | ||
| 7 | (string_buffer_position): Remove unused variable `around'. | ||
| 8 | (store_frame_title): Remove unused variable `width'. | ||
| 9 | |||
| 3 | * window.c: Don't define max. | 10 | * window.c: Don't define max. |
| 4 | (coordinates_in_window): Remove unused variable `uy'. | 11 | (coordinates_in_window): Remove unused variable `uy'. |
| 5 | 12 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index e113805ec79..f39f9ec387d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3138,8 +3138,6 @@ static int | |||
| 3138 | single_display_prop_string_p (prop, string) | 3138 | single_display_prop_string_p (prop, string) |
| 3139 | Lisp_Object prop, string; | 3139 | Lisp_Object prop, string; |
| 3140 | { | 3140 | { |
| 3141 | extern Lisp_Object Qwhen, Qmargin; | ||
| 3142 | |||
| 3143 | if (EQ (string, prop)) | 3141 | if (EQ (string, prop)) |
| 3144 | return 1; | 3142 | return 1; |
| 3145 | 3143 | ||
| @@ -3175,8 +3173,6 @@ static int | |||
| 3175 | display_prop_string_p (prop, string) | 3173 | display_prop_string_p (prop, string) |
| 3176 | Lisp_Object prop, string; | 3174 | Lisp_Object prop, string; |
| 3177 | { | 3175 | { |
| 3178 | extern Lisp_Object Qwhen, Qmargin; | ||
| 3179 | |||
| 3180 | if (CONSP (prop) | 3176 | if (CONSP (prop) |
| 3181 | && CONSP (XCAR (prop)) | 3177 | && CONSP (XCAR (prop)) |
| 3182 | && !EQ (Qmargin, XCAR (XCAR (prop)))) | 3178 | && !EQ (Qmargin, XCAR (XCAR (prop)))) |
| @@ -3222,7 +3218,6 @@ string_buffer_position (w, string, around_charpos) | |||
| 3222 | Lisp_Object string; | 3218 | Lisp_Object string; |
| 3223 | int around_charpos; | 3219 | int around_charpos; |
| 3224 | { | 3220 | { |
| 3225 | Lisp_Object around = make_number (around_charpos); | ||
| 3226 | Lisp_Object limit, prop, pos; | 3221 | Lisp_Object limit, prop, pos; |
| 3227 | const int MAX_DISTANCE = 1000; | 3222 | const int MAX_DISTANCE = 1000; |
| 3228 | int found = 0; | 3223 | int found = 0; |
| @@ -7140,7 +7135,7 @@ store_frame_title (str, field_width, precision) | |||
| 7140 | int field_width, precision; | 7135 | int field_width, precision; |
| 7141 | { | 7136 | { |
| 7142 | int n = 0; | 7137 | int n = 0; |
| 7143 | int dummy, nbytes, width; | 7138 | int dummy, nbytes; |
| 7144 | 7139 | ||
| 7145 | /* Copy at most PRECISION chars from STR. */ | 7140 | /* Copy at most PRECISION chars from STR. */ |
| 7146 | nbytes = strlen (str); | 7141 | nbytes = strlen (str); |