1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00

Ensure XImage and XEvent variables are completely initialized

This commit is contained in:
Nick Briggs 2022-12-14 12:37:43 -08:00
parent ab79048dae
commit 8054c62f8a
2 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ void Create_LispWindow(DspInterface dsp)
void lisp_Xvideocolor(int flag)
{
Screen *screen;
XEvent event;
XEvent event = {0};
XGCValues gcv = {0};
unsigned long newForeground;

View File

@ -99,7 +99,7 @@ Pixmap make_Xicon(DspInterface dsp)
{
unsigned int width, height;
int value, x_hot, y_hot;
XImage IconImage;
XImage IconImage = {0};
#ifdef TRACE