From a33592bd08a20c6a521b8508975b7a74ecdf4f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Thu, 12 Dec 2013 10:28:16 +0100 Subject: Remove unused variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unused variables -- they cause warnings (and errors with -Werror) when building with clang 3.4. Change-Id: I03fff9b1b9d620763f41c8b31a19c4724726739c Signed-off-by: Bernhard Rosenkränzer --- translate.c | 1 - 1 file changed, 1 deletion(-) (limited to 'translate.c') diff --git a/translate.c b/translate.c index 927b49c..00ea0b9 100644 --- a/translate.c +++ b/translate.c @@ -244,7 +244,6 @@ int icmp6_to_icmp(clat_packet out, int pos, const struct icmp6_hdr *icmp6, const char *payload, size_t payload_size) { struct icmphdr *icmp_targ = out[pos].iov_base; uint8_t icmp_type; - int ttl; int clat_packet_len; memset(icmp_targ, 0, sizeof(struct icmphdr)); -- cgit v1.2.3