Mercurial > hg > freeDiameter
changeset 423:0859b5a834d8
Fix a couple of additional warnings
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 26 Jul 2010 14:56:31 +0900 |
parents | 7e0757b01ecb |
children | 6c96605f5250 |
files | freeDiameter/cnxctx.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;