Skip to content

Commit 2775bf3

Browse files
committed
tslib.c: avoid uninitialized variable access
1 parent 1f01bd3 commit 2775bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tslib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void ReadInputLegacy(InputInfoPtr local)
128128
static void ReadHandleMTSample(InputInfoPtr local, int nr, int slot)
129129
{
130130
struct ts_priv *priv = (struct ts_priv *) (local->private);
131-
int type;
131+
int type = 0;
132132
static unsigned int next_touchid;
133133
ValuatorMask *m = priv->valuators;
134134

0 commit comments

Comments
 (0)