Skip to content

Commit

Permalink
Merge pull request #3 from izzatzr/patch-1
Browse files Browse the repository at this point in the history
fix unused var error
  • Loading branch information
Cyberhan123 authored Oct 23, 2023
2 parents 2aeb25c + 5d25db8 commit b7746e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var libName = "librwkv-*.so"

func getDl(gpu bool) []byte {
if gpu {
gpu, _ := GetGPUInfo()
_, _ = GetGPUInfo()
}
if runtime.GOARCH == "amd64" {
return libRwkv
Expand Down

0 comments on commit b7746e1

Please sign in to comment.