Project

General

Profile

Actions

Bug #604

closed

Compiler warning: 'status' may be used uninitialized in this function

Added by Greg Farnum over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In gui.cc
The warning's location references are a bit off, but the function gen_node_info_from_icons declares a "status" variable (line 954) and then uses it to initialize a new NodeInfo (line 960), but it never defines "status." I don't know the appropriate settings for this, so you get the bug. :)

Actions #1

Updated by Sage Weil over 13 years ago

  • Source changed from 0 to 1
Actions #2

Updated by Colin McCabe over 13 years ago

  • Status changed from New to Resolved

Fixed by d6e8e8d15d22b51ec86bc5687336c3d50d9b3a5d

We should change PG view on the GUI to be a list view at some point. The whole zoom in / zoom out paradigm is kind of weird (like why are PGs 0..3 grouped together? Why can't we see PG names?) But that's a separate feature/bug.

Actions

Also available in: Atom PDF