summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
authoralex <alex@builder.localdomain>2007-12-11 15:12:41 -0800
committeralex <alex@builder.localdomain>2007-12-11 15:12:41 -0800
commit42aff76b3686beb463a77f3dabd4c5beed961120 (patch)
treee61062b2c0b55d3841083c38110603f1c398bd06 /src/cli_new.c
parentfb9450551d5757a45806a062d7457a761e6dd295 (diff)
parent832dbf144bc019ec524e4163b716dd823ee26900 (diff)
downloadvyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.tar.gz
vyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.zip
Merge branch 'master' of http://phuket.vyatta.com/vyatta-cfg
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index c51be7f..d4380d5 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -268,14 +268,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