Skip to content

Commit

Permalink
Merge pull request #15864 from joscollin/wip-CID1412839-uninitialized…
Browse files Browse the repository at this point in the history
…-pointer-field

common: initialize array in struct BackTrace

Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
liewegas committed Jun 27, 2017
2 parents 6f6d6ed + 4367361 commit 63c29d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/BackTrace.h
Expand Up @@ -14,7 +14,7 @@ struct BackTrace {
const static int max = 100;

int skip;
void *array[max];
void *array[max]{};
size_t size;
char **strings;

Expand Down

0 comments on commit 63c29d4

Please sign in to comment.