1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

Fix more warnings

This commit is contained in:
Job Snijders
2021-08-17 20:19:17 +00:00
parent 85d833ca48
commit b816c1023b
3 changed files with 11 additions and 11 deletions

View File

@ -290,7 +290,7 @@ sx_prefix_range_parse(struct sx_radix_tree *tree, int af, unsigned int maxlen,
{
char *d = strchr(text, '^');
struct sx_prefix *p;
unsigned long min, max;
unsigned long min, max = 0;
p = sx_prefix_alloc(NULL);
@ -367,7 +367,7 @@ sx_prefix_range_parse(struct sx_radix_tree *tree, int af, unsigned int maxlen,
return 1;
}
struct sx_prefix*
struct sx_prefix *
sx_prefix_new(int af, char *text)
{
struct sx_prefix *p = NULL;