summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astraceroute.c2
-rw-r--r--bpf.c2
-rw-r--r--ifpps.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/astraceroute.c b/astraceroute.c
index 9919744..76b0818 100644
--- a/astraceroute.c
+++ b/astraceroute.c
@@ -782,8 +782,6 @@ static int __process_time(struct ctx *ctx, int fd, int fd_cap, int ttl,
printf("%lu sec ", tmp[idx].tv_sec);
printf("%7lu us", tmp[idx].tv_usec);
break;
- default:
- bug();
}
printf("]");
diff --git a/bpf.c b/bpf.c
index dc7e3cb..3809444 100644
--- a/bpf.c
+++ b/bpf.c
@@ -505,8 +505,6 @@ int __bpf_validate(const struct sock_fprog *bpf)
break;
case BPF_MISC:
break;
- default:
- return 0;
}
}
diff --git a/ifpps.c b/ifpps.c
index 517ee23..d7a7c0e 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -271,8 +271,6 @@ static int stats_proc_softirqs(struct ifstat *stats)
case softirqs_net_rx:
stats->irqs_srx[i] = strtol(ptr, &ptr, 10);
break;
- default:
- bug();
}
}