+1
−1
Loading
This is one of the issues that randomly starts to occur when LTO is enabled and some custom SPDK app is built. It causes a maybe-uninitialized warning to pop up. To supress the warning it is enough to add explicit initialization of a variable causing the issue, in this case 'last_desc = NULL'. For more examples see https://github.com/spdk/spdk/issues/2661 or https://review.spdk.io/gerrit/c/spdk/spdk/+/14849 . Signed-off-by:Maciej Szulik <maciej.szulik@intel.com> Change-Id: I1c8633f96b383b54c9a723093577688fd186a360 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24951 Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@intel.com> Community-CI: Mellanox Build Bot