5faa855989
Add a field to the unit test mocked version of struct spdk_blob_store to avoid having an empty struct. Fixes build warning with scan-build: lvol_ut.c:86:7: warning: Call to 'calloc' has an allocation size of 0 bytes bs = calloc(1, sizeof(*bs)); ^~~~~~~~~~~~~~~~~~~~~~ Change-Id: If7e48b4cce167ad12f475861bbd6ed4c751febfd Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/380816 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
lib | ||
Makefile |