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:
Yuli Khodorkovskiy 2015-09-10 15:01:15 -04:00 committed by James Carter
parent de4c95f9c8
commit 2ee9377b6b

View file

@ -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;