memleaks, cli-generate leafref
This commit is contained in:
parent
07fe90b4c4
commit
91f91fe526
7 changed files with 70 additions and 14 deletions
|
|
@ -934,7 +934,7 @@ api_path_fmt2api_path(char *api_path_fmt,
|
|||
char *strenc=NULL;
|
||||
|
||||
/* Sanity check */
|
||||
#if 1
|
||||
#if 0
|
||||
j = 0; /* Count % */
|
||||
for (i=0; i<strlen(api_path_fmt); i++)
|
||||
if (api_path_fmt[i] == '%')
|
||||
|
|
@ -1021,7 +1021,7 @@ api_path_fmt2xpath(char *api_path_fmt,
|
|||
int skip = 0;
|
||||
|
||||
/* Sanity check: count '%' */
|
||||
#if 1
|
||||
#if 0
|
||||
j = 0; /* Count % */
|
||||
for (i=0; i<strlen(api_path_fmt); i++)
|
||||
if (api_path_fmt[i] == '%')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue