summaryrefslogtreecommitdiff
path: root/tests/test_parse.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-02-01 21:05:37 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-02-01 21:05:37 -0800
commit0e3ccc73965b10c078fba31967c5d5500dade767 (patch)
treeb372a6cdee8f466ed0ff930b6d640bbebed462bc /tests/test_parse.cpp
parente56686f1e57236d4b1c5fb3f7de99ddfbf2a016b (diff)
Remove redundant branch from xml_node::path()
The code works fine regardless of the *j->name check, and omitting this makes the code more symmetric between the "count" and "write" stage; additionally this improves coverage - due to how strcpy_insitu works it's not really possible to get an empty non-NULL name in the node.
Diffstat (limited to 'tests/test_parse.cpp')
0 files changed, 0 insertions, 0 deletions