commit | 4607f549e17fe26037622bae65178e2e6aefa332 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Tue Dec 01 12:18:49 2020 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Dec 02 12:20:04 2020 +0100 |
tree | c5a6c59c9c17c002a20e26bd05171b85c2a632a0 | |
parent | 1cd812f0c36a51f3e8bf6e50f5ceb7a9306ad252 [diff] [blame] |
libyang BUGFIX incorrect character value Probably not a problem for the compilers, but may cause issues with code parsing tools (cppcheck).
diff --git a/src/common.c b/src/common.c index 536b044..e96f6dd 100644 --- a/src/common.c +++ b/src/common.c
@@ -579,7 +579,7 @@ uint8_t expr = 0; /* 0 - position predicate; 1 - leaf-list-predicate; 2 - key-predicate */ char quot; - assert(in[0] == '\['); + assert(in[0] == '['); *prefix = *id = *value = NULL; *prefix_len = *id_len = *value_len = 0;