summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-03 16:59:46 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-03 16:59:46 -0600
commitbb254d5ce7462e68af67c907f3b9c9e98504c031 (patch)
tree4db74a601c129d76b569faca58e21249439f756d /src
parentdf78914cae2dc2e3da5170cf3f9c7b412aed3afa (diff)
nslcd_proto/io.go: Derp, the end of the switch block absolutely is reached
Diffstat (limited to 'src')
-rw-r--r--src/nslcd_proto/io.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nslcd_proto/io.go b/src/nslcd_proto/io.go
index e31aabc..321a87c 100644
--- a/src/nslcd_proto/io.go
+++ b/src/nslcd_proto/io.go
@@ -73,7 +73,6 @@ func write(fd io.Writer, data interface{}) {
panic("Invalid structure for NSLCD protocol data")
}
}
- panic("not reached")
}
func read(fd io.Reader, data interface{}) {
@@ -143,5 +142,4 @@ func read(fd io.Reader, data interface{}) {
panic("Invalid structure for NSLCD protocol data")
}
}
- panic("not reached")
}