summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-09 22:07:34 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 20:00:16 -0800
commit59c1555dff34804c78c7e7443ad13f27300927eb (patch)
treeb0a4a5e82e908f8070252139ac73d60d8a1a6350
parentbec4e9c9089fa4cc5a50fc513a3544cf6fd59bf1 (diff)
downloadxorg-lib-libICE-59c1555dff34804c78c7e7443ad13f27300927eb.tar.gz
Remove ancient workaround for System V/386 Release 4.2 compiler bug
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: walter <wharms@bfs.de> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--src/process.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/process.c b/src/process.c
index b566010..1e53ef9 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2279,17 +2279,7 @@ ProcessProtocolReply (
IcePoAuthProc authProc = myProtocol->auth_procs[(int)
(iceConn->protosetup_to_you->my_auth_index)];
-#ifdef SVR4
-
-/*
- * authProc is never NULL, but the cc compiler on UNIX System V/386
- * Release 4.2 Version 1 screws up an optimization. Unless there is
- * some sort of reference to authProc before the function call, the
- * function call will seg fault.
- */
- if (authProc)
-#endif
- (*authProc) (iceConn,
+ (*authProc) (iceConn,
&iceConn->protosetup_to_you->my_auth_state,
True /* clean up */, False /* swap */,
0, NULL, NULL, NULL, NULL);