Navigation


Changeset 1539:d25ce064c667 in freeDiameter for libfdproto/messages.c


Ignore:
Timestamp:
Apr 30, 2020, 2:24:47 PM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
Message:

Correctly fix compiler warnings

ASSERT() is only used

#ifndef NDEBUG

not

#ifdef DEBUG

Fixes Debug build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/messages.c

    r1442 r1539  
    22852285        if (msg->msg_model != NULL) {
    22862286                /* Check if this model is still valid for the message data */
    2287 #ifdef DEBUG
     2287#ifndef NDEBUG
    22882288                enum dict_object_type    dicttype;
    22892289#endif
Note: See TracChangeset for help on using the changeset viewer.