aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-22 21:13:22 +0000
committermarha <marha@users.sourceforge.net>2010-02-22 21:13:22 +0000
commit318cb00577b21cbc69736cf86b19c5db5cb3caa3 (patch)
tree8757eefe27a9a65266bea2ee0a62bf8c9207a061 /xorg-server
parent499fb360a36ff1dfb817f4e66272f1329bfdcfc0 (diff)
downloadvcxsrv-318cb00577b21cbc69736cf86b19c5db5cb3caa3.tar.gz
vcxsrv-318cb00577b21cbc69736cf86b19c5db5cb3caa3.tar.bz2
vcxsrv-318cb00577b21cbc69736cf86b19c5db5cb3caa3.zip
Solved unreacheable code. Function always returned error.
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/Xi/sendexev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/Xi/sendexev.c b/xorg-server/Xi/sendexev.c
index 8629dd202..04ac9deab 100644
--- a/xorg-server/Xi/sendexev.c
+++ b/xorg-server/Xi/sendexev.c
@@ -139,8 +139,10 @@ ProcXSendExtensionEvent(ClientPtr client)
first = ((xEvent *) & stuff[1]);
if (!((EXTENSION_EVENT_BASE <= first->u.u.type) &&
(first->u.u.type < lastEvent)))
+ {
client->errorValue = first->u.u.type;
return BadValue;
+ }
list = (XEventClass *) (first + stuff->num_events);
if ((ret = CreateMaskFromList(client, list, stuff->count, tmp, dev,