You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CID 1490876: Uninitialized members (UNINIT_CTOR)
Non-static class member "ai.better" is not initialized in this constructor nor in any functions that it calls.
414 }
415
416 /**
417 De-allocate resources associated with the given government.
418 */
419 government::~government()
Platform and version (please complete the following information):
master
The text was updated successfully, but these errors were encountered:
Describe the bug
Reported by coverity
1 new defect(s) introduced to longturn/freeciv21 found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1490876: Uninitialized members (UNINIT_CTOR)
/common/government.cpp: 414 in government::government()()
*** CID 1490876: Uninitialized members (UNINIT_CTOR)
/common/government.cpp: 414 in government::government()()
408 {
409 item_number = 0;
410 ruler_titles = new QHash<const struct nation_type *, struct ruler_title *>;
411 requirement_vector_init(&reqs);
412 changed_to_times = 0;
413 ruledit_disabled = false;
414 }
415
416 /**
417 De-allocate resources associated with the given government.
418 */
419 government::~government()
Platform and version (please complete the following information):
The text was updated successfully, but these errors were encountered: