not initializing a pointer to NULL
This commit is contained in:
parent
a0dbb0e13f
commit
addc23faf5
1 changed files with 3 additions and 0 deletions
|
@ -216,6 +216,9 @@ BScreen::BScreen(Openbox &ob, int scrn, Resource &conf) : ScreenInfo(ob, scrn),
|
||||||
resource.mstyle.t_font = resource.mstyle.f_font = resource.tstyle.font =
|
resource.mstyle.t_font = resource.mstyle.f_font = resource.tstyle.font =
|
||||||
resource.wstyle.font = NULL;
|
resource.wstyle.font = NULL;
|
||||||
resource.root_command = NULL;
|
resource.root_command = NULL;
|
||||||
|
#ifdef HAVE_STRFTIME
|
||||||
|
resource.strftime_format = NULL;
|
||||||
|
#endif // HAVE_STRFTIME
|
||||||
|
|
||||||
#ifdef SLIT
|
#ifdef SLIT
|
||||||
slit = NULL;
|
slit = NULL;
|
||||||
|
|
Loading…
Reference in a new issue