missing initializations 'valgrind' reported a lot of code branches based upon uninitialized variables. some are not identified yet.
Mathias Gumz akira at fluxbox dot org
3 files changed,
4 insertions(+),
1 deletions(-)
M
src/IconbarTool.cc
→
src/IconbarTool.cc
@@ -268,7 +268,8 @@ screen.name() + ".iconbar.iconTextPadding", screen.altName() + ".Iconbar.IconTextPadding"),
m_rc_use_pixmap(screen.resourceManager(), true, screen.name() + ".iconbar.usePixmap", screen.altName() + ".Iconbar.UsePixmap"), m_menu(screen.menuTheme(), screen.imageControl(), - *screen.layerManager().getLayer(Layer::MENU)) { + *screen.layerManager().getLayer(Layer::MENU)), + m_alpha(255) { // setup mode menu setupModeMenu(m_menu, *this);
M
src/Screen.cc
→
src/Screen.cc
@@ -332,6 +332,7 @@ const string &altscreenname,
int scrn, int num_layers) : m_reconfigure_sig(*this), // reconfigure signal m_layermanager(num_layers), + m_image_control(0), m_focused_windowtheme(new FbWinFrameTheme(scrn, ".focus", ".Focus")), m_unfocused_windowtheme(new FbWinFrameTheme(scrn, ".unfocus", ".Unfocus")), // the order of windowtheme and winbutton theme is important
M
src/main.cc
→
src/main.cc
@@ -183,6 +183,7 @@ endl;
} struct Options { + Options() : xsync(false) { } std::string session_display; std::string rc_file; std::string log_filename;