summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1f5ecfa)
We never pass a NULL pointer to create_snapshot(), but scan-build
is unable to prove this and claims that the array access results in
a null pointer dereference. The added assertion helps the reader of
the code, and it quietens scan-build.
ret = rename_resume_snap(current_snapshot_creation_time);
if (ret < 0)
return ret;
ret = rename_resume_snap(current_snapshot_creation_time);
if (ret < 0)
return ret;