Skip to content

Commit

Permalink
Merge pull request grpc#4857 from a-veitch/tag_set_fix
Browse files Browse the repository at this point in the history
fix uninitialized variable usage
  • Loading branch information
ctiller committed Jan 23, 2016
2 parents b9f11dd + 03a38e1 commit ea05099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/census/tag_set.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ea05099

Please sign in to comment.