Mercurial > hg > freeDiameter
comparison extensions/acl_wl/aw_tree.c @ 1405:3cbe458fbfa9
Fix compiler warnings
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Tue, 18 Feb 2020 16:23:53 +1100 |
parents | 0dff6a604b0a |
children | 566bb46cc73f |
comparison
equal
deleted
inserted
replaced
1404:6cc290653ef6 | 1405:3cbe458fbfa9 |
---|---|
337 /* Search in the tree. On return, *result = -1: not found; >=0: found with PI_SEC_* flags */ | 337 /* Search in the tree. On return, *result = -1: not found; >=0: found with PI_SEC_* flags */ |
338 int aw_tree_lookup(char * name, int * result) | 338 int aw_tree_lookup(char * name, int * result) |
339 { | 339 { |
340 struct split_name sn; | 340 struct split_name sn; |
341 int lbl, found; | 341 int lbl, found; |
342 struct tree_item * ti; | 342 struct tree_item * ti = NULL; |
343 struct fd_list * senti, *li; | 343 struct fd_list * senti, *li; |
344 | 344 |
345 TRACE_ENTRY("%p %p", name, result); | 345 TRACE_ENTRY("%p %p", name, result); |
346 CHECK_PARAMS(name && result); | 346 CHECK_PARAMS(name && result); |
347 | 347 |