commit | 3771f5f2e9f40d06e8377490ccf9630c86537b0a | [log] [tgz] |
---|---|---|
author | PavanKumarIntel <pavanx.kumar.martha@intel.com> | Thu Nov 02 06:26:42 2023 +0000 |
committer | pavanx.kumar.martha <pavanx.kumar.martha@intel.com> | Fri Nov 10 09:17:51 2023 +0000 |
tree | f72fbd4bec43b20e802c57c30b7315b7c838bf00 | |
parent | 1214d6cc51cbbde74b0b2b486cf161af6b616d65 [diff] |
Fix the bugs found in static analysis This commit fixes the following static analyzer reported issues: Operands don't affect result some conditions are not required to check as its always true Unsigned compared against 0 Unchecked return value from library Uninitialized scalar variable Change-Id: I0b1fd426794bb88f6eafcc817cef5dd2f655e1ba Signed-off-by: PavanKumarIntel <pavanx.kumar.martha@intel.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage