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

George Joseph asteriskteam at digium.com
Mon Nov 29 12:27:42 CST 2021


George Joseph has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/17585 )

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:
  George Joseph: Looks good to me, approved; 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/+/17585
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

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


More information about the asterisk-code-review mailing list