commit | 292159f41692367c2ea77b260fdc51283f61193c | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue May 05 09:25:55 2020 -0500 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Fri May 22 08:09:19 2020 -0500 |
tree | 3be516eb64507192d84ba52b2738bd5ed72c9d25 | |
parent | 97d4546d3172609b51cad86bb4edbf75de56dff0 [diff] |
meson: Fix compile errors Meson runs stricter compiler checks. Fix the following errors in preparation to moving to meson: - Unusued parameters. Ex: ../download_manager_main.cpp:7:14: error: unused parameter ‘argc’ [-Werror=unused-parameter] ../static/item_updater_helper.cpp:16:42: error: unused parameter ‘entryId’ [-Werror=unused-parameter] ../watch.cpp:77:38: error: unused parameter ‘s’ [-Werror=unused-parameter] [test/utest.cpp:166]: (style) Variable 'pubKeyConfFile' is assigned a value that is never used. - Add destructor and initialize variable in init list: ../flash.hpp:18:7: error: ‘class phosphor::software::updater::Flash’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] [version.hpp:81]: callback is assigned in constructor body. Consider performing initialization in initialization list Tested: Verified code update on witherspoon still worked. Change-Id: Ib7a0e0e11d6bfe6eeeb3f2ea4bfefd43505d639e Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.