From e6719d7718ad5bbbdf671f9cda7f334fe9b57ae2 Mon Sep 17 00:00:00 2001 From: Thomas Schlichter Date: Tue, 9 Jul 2024 14:37:06 +0200 Subject: [PATCH] remove superfluous semicolon from multi-line macros in oai_asn1.h --- common/utils/oai_asn1.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/utils/oai_asn1.h b/common/utils/oai_asn1.h index cc8392b0cf..573fa94d75 100644 --- a/common/utils/oai_asn1.h +++ b/common/utils/oai_asn1.h @@ -34,7 +34,7 @@ TYPE *tmp = ORIGIN; \ ORIGIN = DESTINATION; \ DESTINATION = tmp; \ - } while(0); \ + } while (0) \ // Same as above but swapping ASN1 elements that are not pointers #define UPDATE_NP_IE(DESTINATION, ORIGIN, TYPE) \ @@ -42,7 +42,7 @@ TYPE tmp = ORIGIN; \ ORIGIN = DESTINATION; \ DESTINATION = tmp; \ - } while(0); \ + } while (0) \ // 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 @@ -55,7 +55,7 @@ } \ if (ORIGIN->present == 2) \ UPDATE_IE(DESTINATION, ORIGIN->choice.setup, TYPE); \ - } while(0); \ + } while (0) \ // 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 @@ -72,7 +72,7 @@ DESTINATION->present = ORIGIN->present; \ 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. // Prints an error if ID not found in list.