| commit | 9b2c15699524ad21a12c64d245f6fe25252a2afd | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Thu Apr 11 01:39:25 2024 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Mon Apr 15 21:31:42 2024 +0000 |
| tree | ab4180fc195d09cea864b4d06be61a4a8769148c | |
| parent | 49c9ab02d7ce200db6defbc82d95646ac4d64804 [diff] |
treewide: add empty default case to switch statements We are ignoring all other possible cases, but without a proper default case this looks like the other ones where just forgotten. Change-Id: I7a6e490d91c4e7e8c89a2d2d2ace1a82b7c5391b Reviewed-on: https://review.monogon.dev/c/monogon/+/2961 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
diff --git a/go/net/psample/subscriber.go b/go/net/psample/subscriber.go index 065c6b6..6e05b9c 100644 --- a/go/net/psample/subscriber.go +++ b/go/net/psample/subscriber.go
@@ -99,6 +99,7 @@ p.Latency = ad.Uint64() case aTimestamp: p.Timestamp = ad.Uint64() + default: } } return &p, nil