summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-05-23 21:48:42 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-05-23 21:48:42 +0400
commitde677ffd0e12f966c6d871e1343ccd5c517ad44c (patch)
tree5ab925afd7c9b5b382543b8c3b1b90156d99f86f /accel-pppd/shaper
parent2a9676f4663a3332fd02ed05035cac1c47d181f3 (diff)
downloadaccel-ppp-de677ffd0e12f966c6d871e1343ccd5c517ad44c.tar.gz
accel-ppp-de677ffd0e12f966c6d871e1343ccd5c517ad44c.zip
shaper: fixed 'shaper restore' command
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r--accel-pppd/shaper/shaper.c3
1 files changed, 0 insertions, 3 deletions
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;