X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=5ad56a7e6a47987da979dc62ec8f4b4f02123d51;hb=417c9ef016f696666123beba0973bf544002f88a;hp=a47f3b0e496e4c2cb29ae72cc674dd048bfbc709;hpb=66f742ca4870a1458a21732913518c87ac7c9f27;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index a47f3b0..5ad56a7 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -5311,7 +5311,7 @@ resize(struct ws_win *win, union arg *args) int top = 0, left = 0, resizing; int dx, dy; xcb_cursor_t cursor; - xcb_query_pointer_reply_t *xpr; + xcb_query_pointer_reply_t *xpr = NULL; xcb_generic_event_t *evt; xcb_motion_notify_event_t *mne; @@ -5509,7 +5509,7 @@ move(struct ws_win *win, union arg *args) xcb_timestamp_t timestamp = 0; int move_stp = 0, moving; struct swm_region *r = NULL; - xcb_query_pointer_reply_t *qpr; + xcb_query_pointer_reply_t *qpr = NULL; xcb_generic_event_t *evt; xcb_motion_notify_event_t *mne;