Skip to content

Commit

Permalink
ximgview: Fix -Wsometimes-uninitialized warning (#2751)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Jan 16, 2023
1 parent 6f9aac3 commit 8030ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visualization/ximgview/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static void main_loop(void)
for (;;) {
fd_set waitset;
struct timeval tv;
unsigned long delay;
unsigned long delay = 0;

while (XPending(dpy) > 0) {
XEvent event;
Expand Down

0 comments on commit 8030ea4

Please sign in to comment.