# HG changeset patch # User Sebastien Decugis # Date 1280123791 -32400 # Node ID 0859b5a834d8c1033b6bf811eda3a89b9181e404 # Parent 7e0757b01ecb0390a43c6cabf08f8a43ca23174b Fix a couple of additional warnings diff -r 7e0757b01ecb -r 0859b5a834d8 freeDiameter/cnxctx.c --- a/freeDiameter/cnxctx.c Mon Jul 26 14:53:48 2010 +0900 +++ b/freeDiameter/cnxctx.c Mon Jul 26 14:56:31 2010 +0900 @@ -157,7 +157,8 @@ #ifdef DISABLE_SCTP TRACE_DEBUG(INFO, "This function should never been called when SCTP is disabled..."); ASSERT(0); - CHECK_FCT_DO( ENOTSUP, return NULL); + CHECK_FCT_DO( ENOTSUP, ); + return NULL; #else /* DISABLE_SCTP */ struct cnxctx * cnx = NULL; @@ -356,7 +357,8 @@ #ifdef DISABLE_SCTP TRACE_DEBUG(INFO, "This function should never been called when SCTP is disabled..."); ASSERT(0); - CHECK_FCT_DO( ENOTSUP, return NULL); + CHECK_FCT_DO( ENOTSUP, ); + return NULL; #else /* DISABLE_SCTP */ int sock = 0; struct cnxctx * cnx = NULL;