Navigation


Changeset 423:0859b5a834d8 in freeDiameter


Ignore:
Timestamp:
Jul 26, 2010, 2:56:31 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix a couple of additional warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/cnxctx.c

    r421 r423  
    158158        TRACE_DEBUG(INFO, "This function should never been called when SCTP is disabled...");
    159159        ASSERT(0);
    160         CHECK_FCT_DO( ENOTSUP, return NULL);
     160        CHECK_FCT_DO( ENOTSUP, );
     161        return NULL;
    161162#else /* DISABLE_SCTP */
    162163        struct cnxctx * cnx = NULL;
     
    357358        TRACE_DEBUG(INFO, "This function should never been called when SCTP is disabled...");
    358359        ASSERT(0);
    359         CHECK_FCT_DO( ENOTSUP, return NULL);
     360        CHECK_FCT_DO( ENOTSUP, );
     361        return NULL;
    360362#else /* DISABLE_SCTP */
    361363        int sock = 0;
Note: See TracChangeset for help on using the changeset viewer.