missing initializations
'valgrind' reported a lot of code branches based upon uninitialized variables. some are not identified yet.
This commit is contained in:
parent
87cffef7f5
commit
f3ad09c4ce
3 changed files with 4 additions and 1 deletions
|
@ -268,7 +268,8 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme,
|
|||
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);
|
||||
|
|
|
@ -332,6 +332,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
|
|||
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
|
||||
|
|
|
@ -183,6 +183,7 @@ static void showInfo(ostream &ostr) {
|
|||
}
|
||||
|
||||
struct Options {
|
||||
Options() : xsync(false) { }
|
||||
std::string session_display;
|
||||
std::string rc_file;
|
||||
std::string log_filename;
|
||||
|
|
Loading…
Reference in a new issue