diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2013-11-02 21:26:33 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-11-02 21:26:33 +0400 |
commit | f0abb041cf94f620c22987bab1ab4a49645141af (patch) | |
tree | 26146ff5321725d839a23fb295f65cae16ead8e9 /accel-pppd | |
parent | b96a7c889dfaa1ee7491394179f800372374db8d (diff) | |
download | accel-ppp-f0abb041cf94f620c22987bab1ab4a49645141af.tar.gz accel-ppp-f0abb041cf94f620c22987bab1ab4a49645141af.zip |
shaper: remove garbage (fixed sigsegv in 'shaper restore all')
Signed-off-by: Kozlov Dmitry <xeb@mail.ru>
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/shaper/shaper.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c index 6b788b55..d1742b41 100644 --- a/accel-pppd/shaper/shaper.c +++ b/accel-pppd/shaper/shaper.c @@ -558,9 +558,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; |