all repos — fluxbox @ f3ad09c4ce70cc58871eeac49d640f213f3cd16f

custom fork of the fluxbox windowmanager

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
commit

f3ad09c4ce70cc58871eeac49d640f213f3cd16f

parent

87cffef7f5d0bf960e5682fad68bd8186fc36e29

3 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/IconbarTool.ccsrc/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.ccsrc/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.ccsrc/main.cc

@@ -183,6 +183,7 @@ endl;

} struct Options { + Options() : xsync(false) { } std::string session_display; std::string rc_file; std::string log_filename;