libsepol/cil: Fix uninitialized false positive in cil_binary
On older versions of gcc, an error is incorrectly given about uninitialized variables. This will initialize the culprits. Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com> Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
This commit is contained in:
parent
de4c95f9c8
commit
2ee9377b6b
1 changed files with 1 additions and 1 deletions
|
@ -1523,7 +1523,7 @@ int __cil_avrulex_ioctl_to_policydb(hashtab_key_t k, hashtab_datum_t datum, void
|
|||
ebitmap_t *xperms;
|
||||
ebitmap_node_t *node;
|
||||
unsigned int i;
|
||||
uint16_t low, high;
|
||||
uint16_t low = 0, high = 0;
|
||||
struct avtab_extended_perms *partial = NULL;
|
||||
struct avtab_extended_perms *complete = NULL;
|
||||
int start_new_range;
|
||||
|
|
Loading…
Reference in a new issue