summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-07-08 18:24:26 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-07-08 18:26:28 +0200
commit1c300c983f60a15413cfd0b31abb7d8294a1a5cc (patch)
tree9460aa3ae871aa9b4c9d9412cf89cf74faaca1f5 /src/fns.c
parent58790a5266c60a935e6f6f1c3bda7c8fc7b72a6d (diff)
downloademacs-1c300c983f60a15413cfd0b31abb7d8294a1a5cc.tar.gz
Remove unused member of internal struct
* src/fns.c (struct textprop_rec, concat_to_string): Remove `from`.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index f4ba67b40e7..49d76a0e7c7 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -712,7 +712,6 @@ the same empty object instead of its copy. */)
struct textprop_rec
{
ptrdiff_t argnum; /* refer to ARGS (arguments of `concat') */
- ptrdiff_t from; /* refer to ARGS[argnum] (argument string) */
ptrdiff_t to; /* refer to VAL (the target string) */
};
@@ -843,7 +842,6 @@ concat_to_string (ptrdiff_t nargs, Lisp_Object *args)
if (string_intervals (arg))
{
textprops[num_textprops].argnum = i;
- textprops[num_textprops].from = 0;
textprops[num_textprops].to = toindex;
num_textprops++;
}