From fb1f7723afe46d696ba62597909066fea42bfaec Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Mon, 22 Sep 2014 13:12:36 +0400 Subject: fixed compilation warnings --- accel-pppd/shaper/leaf_qdisc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'accel-pppd/shaper') diff --git a/accel-pppd/shaper/leaf_qdisc.c b/accel-pppd/shaper/leaf_qdisc.c index 6c90968..cdc9eed 100644 --- a/accel-pppd/shaper/leaf_qdisc.c +++ b/accel-pppd/shaper/leaf_qdisc.c @@ -56,6 +56,7 @@ static int parse_size(const char *str, int *r) return 0; } +#ifdef TCA_FQ_CODEL_MAX static int parse_time(const char *str, int *r) { double t; @@ -82,7 +83,7 @@ static int parse_time(const char *str, int *r) return 0; } - +#endif static int parse_int(const char *str, int *r) { -- cgit v1.2.3