From bb254d5ce7462e68af67c907f3b9c9e98504c031 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 3 Sep 2015 16:59:46 -0600 Subject: nslcd_proto/io.go: Derp, the end of the switch block absolutely is reached --- src/nslcd_proto/io.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/nslcd_proto') 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") } -- cgit v1.2.3-54-g00ecf