Commit e6719d77 authored by Thomas Schlichter's avatar Thomas Schlichter

remove superfluous semicolon from multi-line macros in oai_asn1.h

parent e8a08376
...@@ -34,7 +34,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment