diff options
author | 2016-01-22 18:33:25 -0800 | |
---|---|---|
committer | 2016-01-22 18:33:25 -0800 | |
commit | ea05099f521c4de062f86675095827b658f123d6 (patch) | |
tree | 592f6ed920eaae955f0f5b78480fecb5ac9311a3 /src/core/census/tag_set.c | |
parent | b9f11dd47b5a01b24176035416d5fe45594c562d (diff) | |
parent | 03a38e1dab254d125d00cc3507202f559249c40d (diff) |
Merge pull request #4857 from a-veitch/tag_set_fix
fix uninitialized variable usage
Diffstat (limited to 'src/core/census/tag_set.c')
-rw-r--r-- | src/core/census/tag_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/census/tag_set.c b/src/core/census/tag_set.c index 8908a2d5f3..9b65a1dfa1 100644 --- a/src/core/census/tag_set.c +++ b/src/core/census/tag_set.c @@ -253,7 +253,7 @@ static void tag_set_flatten(struct tag_set *tags) { if (tags->ntags == tags->ntags_alloc) return; bool found_deleted = false; // found a deleted tag. char *kvp = tags->kvm; - char *dbase; // record location of deleted tag + char *dbase = NULL; // record location of deleted tag for (int i = 0; i < tags->ntags_alloc; i++) { struct raw_tag tag; char *next_kvp = decode_tag(&tag, kvp, 0); |