summaryrefslogtreecommitdiff
path: root/navit/command.c
diff options
context:
space:
mode:
authorjkoan <jkoan@gmx.de>2020-10-25 17:13:06 +0100
committerjkoan <jkoan@users.noreply.github.com>2020-10-31 14:26:45 +0100
commit12478f599efa93ae70deeedf0049e261d5d766ec (patch)
treea539dfbdc81d9ca05bb4fc089c02328996adaebf /navit/command.c
parent6819fe255df971f78e8a011b6374f1e9c7740d25 (diff)
downloadnavit-12478f599efa93ae70deeedf0049e261d5d766ec.tar.gz
fix:build:core:Fix two issues where the wrong enum type is used, but
both have the same value of 0
Diffstat (limited to 'navit/command.c')
-rw-r--r--navit/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/command.c b/navit/command.c
index cc498b1a7..f2c6c0bb0 100644
--- a/navit/command.c
+++ b/navit/command.c
@@ -158,7 +158,7 @@ static void result_free(struct result *res) {
attr_free_content(&res->attr);
res->allocated=0;
} else {
- res->attr.type=type_none;
+ res->attr.type=attr_none;
res->attr.u.data=NULL;
}
}