refdb_fs: fail if refcache returns NULL pointer
We usually check entries returned by `git_sortedcache_entry` for NULL pointers. As we have a write lock in `packed_write`, though, it really should not happen that the function returns NULL. Assert that ref is not NULL to silence a Coverity warning.
Showing
Please
register
or
sign in
to comment