From 0bbb381efda8d48ab7d3f7c5f69efbeaa4674d98 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 2 May 2017 21:06:35 -0400 Subject: [PATCH] ioc/rsrv: fix C89 issue --- src/ioc/rsrv/camessage.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ioc/rsrv/camessage.c b/src/ioc/rsrv/camessage.c index a174cb23f..26a865ac2 100644 --- a/src/ioc/rsrv/camessage.c +++ b/src/ioc/rsrv/camessage.c @@ -1198,6 +1198,8 @@ static int claim_ciu_action ( caHdrLargeArray *mp, { int status; struct channel_in_use *pciu; + struct dbChannel *dbch; + char *pName = (char *) pPayload; /* * The available field is used (abused) @@ -1210,9 +1212,6 @@ static int claim_ciu_action ( caHdrLargeArray *mp, if (!CA_V44(client->minor_version_number)) return RSRV_ERROR; /* shouldn't actually get here due to VSUPPORTED test in camessage() */ - struct dbChannel *dbch; - char *pName = (char *) pPayload; - /* * check the sanity of the message */