When Link Time Optimization is enabled, compiler can sometimes produce additional warnings saying that some variables may be uninitialized. To supress the warning it is enough to add explicit initialization of the variable causing the issue, in this case '*module_name = NULL' and "*writer = NULL". Signed-off-by: Szulik, Maciej <maciej.szulik@intel.com> Change-Id: I30492115b28a18554b08a6f575cbcc9538f3b848 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14849 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
accel_internal.h | ||
accel_rpc.c | ||
accel_sw.c | ||
accel.c | ||
Makefile | ||
spdk_accel.map |