glocalfile: Add an assertion to help static analysis
Static analysis of the call to g_dir_new_from_dirp()
is tricky,
because the call is across library boundaries and indirected through a
vfunc map because it’s private to libglib.
Help the static analyser by adding an assertion about the input and
output values for g_dir_new_from_dirp()
.
Signed-off-by: Philip Withnall pwithnall@endlessos.org