summaryrefslogtreecommitdiff
path: root/examples/shapes/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shapes/main.go')
-rw-r--r--examples/shapes/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shapes/main.go b/examples/shapes/main.go
index 5137f0b..4bc3ee3 100644
--- a/examples/shapes/main.go
+++ b/examples/shapes/main.go
@@ -216,7 +216,7 @@ func main() {
if err != nil {
fmt.Println("error reading event:", err)
return
- } else if evt == nil && err == nil {
+ } else if evt == nil {
return
}