remove superfluous semicolon from multi-line macros in oai_asn1.h
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
TYPE *tmp = ORIGIN; \
|
TYPE *tmp = ORIGIN; \
|
||||||
ORIGIN = DESTINATION; \
|
ORIGIN = DESTINATION; \
|
||||||
DESTINATION = tmp; \
|
DESTINATION = tmp; \
|
||||||
} while(0); \
|
} while (0) \
|
||||||
|
|
||||||
// Same as above but swapping ASN1 elements that are not pointers
|
// Same as above but swapping ASN1 elements that are not pointers
|
||||||
#define UPDATE_NP_IE(DESTINATION, ORIGIN, TYPE) \
|
#define UPDATE_NP_IE(DESTINATION, ORIGIN, TYPE) \
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
TYPE tmp = ORIGIN; \
|
TYPE tmp = ORIGIN; \
|
||||||
ORIGIN = DESTINATION; \
|
ORIGIN = DESTINATION; \
|
||||||
DESTINATION = tmp; \
|
DESTINATION = tmp; \
|
||||||
} while(0); \
|
} while (0) \
|
||||||
|
|
||||||
// Macro handles reception of SetupRelease element ORIGIN (see NR_SetupRelease.h)
|
// Macro handles reception of SetupRelease element ORIGIN (see NR_SetupRelease.h)
|
||||||
// If release (NR_SetupRelease_xxx_PR_release equivalent to 1), removing structure from DESTINATION
|
// If release (NR_SetupRelease_xxx_PR_release equivalent to 1), removing structure from DESTINATION
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
} \
|
} \
|
||||||
if (ORIGIN->present == 2) \
|
if (ORIGIN->present == 2) \
|
||||||
UPDATE_IE(DESTINATION, ORIGIN->choice.setup, TYPE); \
|
UPDATE_IE(DESTINATION, ORIGIN->choice.setup, TYPE); \
|
||||||
} while(0); \
|
} while (0) \
|
||||||
|
|
||||||
// Macro handles reception of SetupRelease element ORIGIN (see NR_SetupRelease.h)
|
// Macro handles reception of SetupRelease element ORIGIN (see NR_SetupRelease.h)
|
||||||
// If release (NR_SetupRelease_xxx_PR_release equivalent to 1), removing structure from DESTINATION
|
// If release (NR_SetupRelease_xxx_PR_release equivalent to 1), removing structure from DESTINATION
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
DESTINATION->present = ORIGIN->present; \
|
DESTINATION->present = ORIGIN->present; \
|
||||||
UPDATE_IE(DESTINATION->choice.setup, ORIGIN->choice.setup, TYPE); \
|
UPDATE_IE(DESTINATION->choice.setup, ORIGIN->choice.setup, TYPE); \
|
||||||
} \
|
} \
|
||||||
} while(0); \
|
} while (0) \
|
||||||
|
|
||||||
// Macro releases entries in list TARGET if the corresponding ID is found in list SOURCE.
|
// Macro releases entries in list TARGET if the corresponding ID is found in list SOURCE.
|
||||||
// Prints an error if ID not found in list.
|
// Prints an error if ID not found in list.
|
||||||
|
|||||||
Reference in New Issue
Block a user