Skip to content
Snippets Groups Projects
Commit 53a30c65 authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

Cleanup first_element_by_path

Instead of performing a late null check that is redundant and only
needed to silence clang static analysis warning, we pick the context as
a root / self node. This way the code is a bit less redundant and the
static analyzer is happy.
parent 2e8631d2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment