From: florian Date: Wed, 23 Apr 2014 09:14:49 +0000 (+0000) Subject: zap redundant cast X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d5235a34f2ef21e129df9c272bc8d7a8dddfbd35;p=openbsd zap redundant cast OK benno@ --- diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c index ae57628facb..adab2920795 100644 --- a/usr.sbin/traceroute/traceroute.c +++ b/usr.sbin/traceroute/traceroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute.c,v 1.120 2014/04/23 09:14:07 florian Exp $ */ +/* $OpenBSD: traceroute.c,v 1.121 2014/04/23 09:14:49 florian Exp $ */ /* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */ /*- @@ -686,7 +686,6 @@ main(int argc, char *argv[]) if (ttl_flag) printf(" (%u)", ip->ip_ttl); if (i == -2) { - ip = (struct ip *)packet; if (ip->ip_ttl <= 1) printf(" !"); ++got_there;