dtprintinfo: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:17:10 +00:00
committed by Jon Trulson
parent 284c760616
commit 3600e87527
10 changed files with 19 additions and 19 deletions

View File

@@ -222,7 +222,7 @@ void MainWindow::PopupMenu(Widget widget, XtPointer client_data,
{
XRectangle pixmap_rect, label_rect;
XButtonEvent * ev;
Window child, parent, root;
Window child, parent = NULL, root;
int root_x, root_y, win_x, win_y;
unsigned int modMask;
Display * display = XtDisplay(widget);