Fix for:
CID
1054871 (#1 of 2): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member curl_inst is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member resp_code is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
string *resp_data;
unsigned resp_code;
public:
- test_helper() : resp_data(NULL){
+ test_helper() : curl_inst(NULL), resp_data(NULL), resp_code(0) {
curl_global_init(CURL_GLOBAL_ALL);
}
~test_helper(){