internal/glfw: remove an unreached code

This commit is contained in:
Hajime Hoshi 2022-02-06 05:24:25 +09:00
parent 93b2a0756b
commit 12a70952a9

View File

@ -108,7 +108,6 @@ func acceptError(codes ...ErrorCode) error {
default: default:
panic(fmt.Sprintf("glfw: uncaught error: %s", err.Error())) panic(fmt.Sprintf("glfw: uncaught error: %s", err.Error()))
} }
return err
} }
func goGLFWErrorCallback(code uintptr, desc *byte) uintptr { func goGLFWErrorCallback(code uintptr, desc *byte) uintptr {