mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-14 08:22:20 -04:00
scanner: Remove now unused arg_count
Signed-off-by: Hannes Schulze <contact@haschu.me>
This commit is contained in:
parent
b93a50abd9
commit
25da99a7e5
1 changed files with 0 additions and 2 deletions
|
|
@ -189,7 +189,6 @@ struct message {
|
|||
char *uppercase_name;
|
||||
struct wl_list arg_list;
|
||||
struct wl_list link;
|
||||
int arg_count;
|
||||
int new_id_count;
|
||||
int type_index;
|
||||
int all_null;
|
||||
|
|
@ -890,7 +889,6 @@ start_element(void *data, const char *element_name, const char **atts)
|
|||
arg->summary = xstrdup(summary);
|
||||
|
||||
wl_list_insert(ctx->message->arg_list.prev, &arg->link);
|
||||
ctx->message->arg_count++;
|
||||
} else if (strcmp(element_name, "enum") == 0) {
|
||||
if (name == NULL)
|
||||
fail(&ctx->loc, "no enum name given");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue