From de677ffd0e12f966c6d871e1343ccd5c517ad44c Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Thu, 23 May 2013 21:48:42 +0400 Subject: shaper: fixed 'shaper restore' command --- accel-pppd/shaper/shaper.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'accel-pppd/shaper') diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c index 5e6b576c..34a0988c 100644 --- a/accel-pppd/shaper/shaper.c +++ b/accel-pppd/shaper/shaper.c @@ -546,9 +546,6 @@ static int shaper_restore_exec(const char *cmd, char * const *f, int f_cnt, void { struct shaper_pd_t *pd; int all, found = 0;; - int *ptr = 0; - - *ptr = 1; if (f_cnt != 3) return CLI_CMD_SYNTAX; -- cgit v1.2.3