1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

Coverity: fix RContextAttributes uninitialized variable

This commit is contained in:
David Maciejak
2023-02-28 21:26:01 +08:00
committed by Carlos R. Mafra
parent 76fa91d21e
commit 8ca89f0141
2 changed files with 2 additions and 2 deletions

View File

@@ -617,7 +617,7 @@ WScreen *wScreenInit(int screen_number)
{
WScreen *scr;
XIconSize icon_size[1];
RContextAttributes rattr;
RContextAttributes rattr = {};
long event_mask;
XErrorHandler oldHandler;
int i;

View File

@@ -680,7 +680,7 @@ link_t *connect_dir(char *dirpath, linked_list_t *li)
int main(int argc, char **argv)
{
int option = -1;
RContextAttributes attr;
RContextAttributes attr = {};
XEvent e;
KeySym keysym;
char *reading_filename = "";