Commit 5e2b1119 authored by Francois Cartegnie's avatar Francois Cartegnie

vout: missing initializer (cid #1049030)

button might be unmatched
parent 6e245f46
...@@ -54,7 +54,7 @@ static inline void vout_SendEventMouseMoved(vout_thread_t *vout, int x, int y) ...@@ -54,7 +54,7 @@ static inline void vout_SendEventMouseMoved(vout_thread_t *vout, int x, int y)
} }
static inline void vout_SendEventMousePressed(vout_thread_t *vout, int button) static inline void vout_SendEventMousePressed(vout_thread_t *vout, int button)
{ {
int key; int key = KEY_UNSET;
var_OrInteger(vout, "mouse-button-down", 1 << button); var_OrInteger(vout, "mouse-button-down", 1 << button);
switch (button) switch (button)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment