Skip to content

Commit

Permalink
gg: remove _ :=
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Oates committed Jan 1, 2025
1 parent afaa2b9 commit 86cf89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/gg/gg.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ pub fn screen_size() Size {
if display == unsafe { nil } {
return Size{}
}
defer { _ := C.XCloseDisplay(display) }
defer { C.XCloseDisplay(display) }
root := C.DefaultRootWindow(display)
resources := C.XRRGetScreenResources(display, root)
if resources == unsafe { nil } {
Expand Down

0 comments on commit 86cf89c

Please sign in to comment.