[Asterisk-code-review] build: Fix building with newer GCC. (asterisk[11])
Joshua Colp
asteriskteam at digium.com
Fri Dec 4 08:24:29 CST 2015
Joshua Colp has uploaded a new change for review.
https://gerrit.asterisk.org/1763
Change subject: build: Fix building with newer GCC.
......................................................................
build: Fix building with newer GCC.
Newer GCC is upset that the features flags are uninitialized.
Zero them out so it is less upset.
Change-Id: I05162699e1b36bce4145f58a63b47ad19c6975ac
---
M main/features.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/1763/1
diff --git a/main/features.c b/main/features.c
index c0f4b8d..de40daf 100644
--- a/main/features.c
+++ b/main/features.c
@@ -3722,7 +3722,7 @@
char dynamic_features_buf[128];
const char *peer_dynamic_features, *chan_dynamic_features;
- struct ast_flags features;
+ struct ast_flags features = { 0, };
struct ast_call_feature feature;
if (sense == FEATURE_SENSE_CHAN) {
/* Coverity - This uninit_use should be ignored since this macro initializes the flags */
--
To view, visit https://gerrit.asterisk.org/1763
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I05162699e1b36bce4145f58a63b47ad19c6975ac
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list