From ef9bb742d147b8116896b936ec6e711225e51a09 Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Mon, 30 Jul 2018 13:32:45 +0000 Subject: [PATCH] axismap not used --- lib/src/clixon_xpath.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/src/clixon_xpath.c b/lib/src/clixon_xpath.c index 737a557a..2fec113a 100644 --- a/lib/src/clixon_xpath.c +++ b/lib/src/clixon_xpath.c @@ -88,17 +88,6 @@ const map_str2int xpopmap[] = { {NULL, -1} }; -/* Mapping between axis type string <--> int */ -static const map_str2int axismap[] = { - {"self", A_SELF}, - {"child", A_CHILD}, - {"parent", A_PARENT}, - {"root", A_ROOT}, - {"ancestor", A_ANCESTOR}, - {"descendant-or-self", A_DESCENDANT_OR_SELF}, - {NULL, -1} -}; - static const map_str2int xpath_tree_map[] = { {"expr", XP_EXP}, {"andexpr", XP_AND},