Commit 4639213a authored by Ben's avatar Ben Committed by Robert Roth

Initialize all LoadGraph and OptionGroup members.

https://bugzilla.gnome.org/show_bug.cgi?id=742070
parent a27c607d
......@@ -10,6 +10,7 @@ namespace procman
{
OptionGroup::OptionGroup()
: Glib::OptionGroup("", ""),
show_system_tab(false),
show_processes_tab(false),
show_resources_tab(false),
show_file_systems_tab(false),
......
......@@ -697,13 +697,18 @@ LoadGraph::LoadGraph(guint type)
real_draw_height(0),
graph_delx(0.0),
graph_buffer_offset(0),
colors(),
data_block(),
main_widget(NULL),
disp(NULL),
background(NULL),
timer_index(0),
draw(FALSE),
labels(),
mem_color_picker(NULL),
swap_color_picker(NULL)
swap_color_picker(NULL),
cpu(),
net()
{
LoadGraph * const graph = this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment