summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-07 02:47:06 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-07 02:47:06 +0000
commitf86562540d1c945bfd96d4b89259d81e4ed25255 (patch)
treea9a990e4dd24aa1eead1a28da2150235e34d60c9 /Xext
parent4047191124c237518110e698bde6dab445644449 (diff)
Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2325
<https://bugs.freedesktop.org/attachment.cgi?id=2325> Avoid 38 gcc-3.4.2 warnings: suggest parentheses around assignment used as truth value suggest explicit braces to avoid ambiguous `else' suggest parentheses around && within || suggest parentheses around arithmetic in operand of ^ "/*" within comment (Peter Breitenlohner) Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2326 <https://bugs.freedesktop.org/attachment.cgi?id=2326> This patch removes these 2 gcc-3.4.3 warnings: missing braces around initializer implicit declaration of function `XpOidTrayMediumListHasTray' (Peter Breitenlohner)
Diffstat (limited to 'Xext')
-rw-r--r--Xext/xevie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/xevie.c b/Xext/xevie.c
index 556641876..fa9568c9e 100644
--- a/Xext/xevie.c
+++ b/Xext/xevie.c
@@ -142,13 +142,13 @@ XevieExtensionInit ()
if (!AddCallback(&ServerGrabCallback,XevieServerGrabStateCallback,NULL))
return;
- if (extEntry = AddExtension (XEVIENAME,
+ if ((extEntry = AddExtension (XEVIENAME,
0,
XevieNumberErrors,
ProcDispatch,
SProcDispatch,
ResetProc,
- StandardMinorOpcode)) {
+ StandardMinorOpcode))) {
ReqCode = (unsigned char)extEntry->base;
ErrorBase = extEntry->errorBase;
}