[Asterisk-code-review] stir/shaken: Avoid a compiler extension of GCC. (asterisk[19])

Friendly Automation asteriskteam at digium.com
Mon Nov 29 09:47:25 CST 2021


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/17579 )

Change subject: stir/shaken: Avoid a compiler extension of GCC.
......................................................................

stir/shaken: Avoid a compiler extension of GCC.

ASTERISK-29776

Change-Id: I86e5eca66fb775a5744af0c929fb269e70575a73
---
M res/res_pjsip/pjsip_configuration.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit



diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c
index f324bbb..e32a3d2 100644
--- a/res/res_pjsip/pjsip_configuration.c
+++ b/res/res_pjsip/pjsip_configuration.c
@@ -740,7 +740,7 @@
 }
 
 static const char *stir_shaken_map[] = {
-	[AST_SIP_STIR_SHAKEN_OFF] "off",
+	[AST_SIP_STIR_SHAKEN_OFF] = "off",
 	[AST_SIP_STIR_SHAKEN_ATTEST] = "attest",
 	[AST_SIP_STIR_SHAKEN_VERIFY] = "verify",
 	[AST_SIP_STIR_SHAKEN_ON] = "on",

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17579
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 19
Gerrit-Change-Id: I86e5eca66fb775a5744af0c929fb269e70575a73
Gerrit-Change-Number: 17579
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211129/e60427e5/attachment.html>


More information about the asterisk-code-review mailing list