Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Aug 8, 2024
1 parent af45046 commit 3c9bc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binding/go/rhino.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (rhino *Rhino) Init() error {
if PvStatus(status) != SUCCESS {
errorStatus, messageStack := nativeRhino.nativeGetErrorStack()
if errorStatus != SUCCESS {
fmt.Sprintf("ERROR_STATUS (%d) | MESSAGE_STACK: %s", errorStatus, messageStack)}
fmt.Sprintf("ERROR_STATUS (%d) | MESSAGE_STACK: %s", errorStatus, messageStack)

Check failure on line 252 in binding/go/rhino.go

View workflow job for this annotation

GitHub Actions / check-go-binding-codestyle

unusedresult: result of fmt.Sprintf call not used (govet)
return &RhinoError{
StatusCode: errorStatus,
Message: "Unable to get Rhino error state",
Expand Down

0 comments on commit 3c9bc35

Please sign in to comment.