Project

General

Profile

Bug #639513

update_units(): ‘ui’ may be used uninitialized

Added by Marko Lindqvist 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Target version:
Start date:
Due date:
% Done:

0%


Description

Nightly build for Windows fails:

client/gui-qt/repodlgs.cpp: In member function ‘void
units_reports::update_units(bool)’:
client/gui-qt/repodlgs.cpp:432:18: error: ‘ui’ may be used uninitialized
in this function [-Werror=maybe-uninitialized]
unittype_item *ui;
^~
cc1plus: all warnings being treated as errors

UninitUi.patch View (763 Bytes) Marko Lindqvist, 2017-02-22 04:08 AM

History

#1 Updated by Marko Lindqvist 7 months ago

  • File UninitUi.patch View added
  • Assignee set to Marko Lindqvist
  • Target version set to 2.6.0

Going to commit immediately as a emergency fix

#2 Updated by Marko Lindqvist 7 months ago

  • Status changed from New to Closed

Also available in: Atom PDF