You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/03/13 07:07:42 UTC
svn commit: r517550 -
/webservices/axis2/trunk/c/modules/core/context/svc_ctx.c
Author: dinesh
Date: Mon Mar 12 23:07:41 2007
New Revision: 517550
URL: http://svn.apache.org/viewvc?view=rev&rev=517550
Log:
removed unnecessary env checks
Modified:
webservices/axis2/trunk/c/modules/core/context/svc_ctx.c
Modified: webservices/axis2/trunk/c/modules/core/context/svc_ctx.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/context/svc_ctx.c?view=diff&rev=517550&r1=517549&r2=517550
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/svc_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/svc_ctx.c Mon Mar 12 23:07:41 2007
@@ -87,7 +87,6 @@
const axis2_svc_ctx_t *svc_ctx,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
return svc_ctx->base;
}
@@ -97,7 +96,6 @@
const axis2_svc_ctx_t *svc_ctx,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
return svc_ctx->parent;
}
@@ -107,7 +105,6 @@
const axis2_env_t *env,
axis2_svc_grp_ctx_t *parent)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
svc_ctx->parent = parent;
return AXIS2_SUCCESS;
}
@@ -122,12 +119,9 @@
if (svc_ctx->base)
{
axis2_ctx_free(svc_ctx->base, env);
- svc_ctx->base = NULL;
}
AXIS2_FREE(env->allocator, svc_ctx);
- svc_ctx = NULL;
-
return AXIS2_SUCCESS;
}
@@ -153,7 +147,6 @@
const axis2_svc_ctx_t *svc_ctx,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
return svc_ctx->svc_id;
}
@@ -163,7 +156,6 @@
const axis2_svc_ctx_t *svc_ctx,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
return svc_ctx->svc;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org