diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-06 12:25:03 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-06 12:25:03 -0800 |
commit | e302747419ffa34125cd6700070715ecde299467 (patch) | |
tree | 74ac0e311fad001074bcde2dcae861e73ccaed68 /src/cli_new.c | |
parent | 49e62acc3a414fca4b4c3ec85c6013374f11930b (diff) | |
download | vyatta-cfg-e302747419ffa34125cd6700070715ecde299467.tar.gz vyatta-cfg-e302747419ffa34125cd6700070715ecde299467.zip |
get rid of compiler warning
Diffstat (limited to 'src/cli_new.c')
-rw-r--r-- | src/cli_new.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cli_new.c b/src/cli_new.c index 0f5abd9..bbdde10 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -261,14 +261,11 @@ void internal_error(int line, char *file) */ void vtw_sort(valstruct *valp, vtw_sorted *sortp) { - int i, unsorted, left, child, right; - void *leftp, *rightp, *childp; + int i; const char * format; unsigned int *parts; vtw_type_e type = valp->val_type; char *cp; - int cur=0, par=0, partnum=0, res=0; - void *curp, *parp; sortp->num = valp->cnt?valp->cnt : 1; #ifdef CLI_DEBUG |