Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix unused field that staticcheck found.
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Hollensbe <[email protected]>
  • Loading branch information
Erik Hollensbe committed Mar 14, 2020
1 parent 877dc70 commit edaa4da
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ import "C"
// CompileContexts keep track of things such as filenames, line numbers,
// as well as some settings for how to parse and execute code.
type CompileContext struct {
ctx *C.mrbc_context
filename string
mrb *Mrb
captureErrors bool
ctx *C.mrbc_context
filename string
mrb *Mrb
}

// NewCompileContext constructs a *CompileContext from a *Mrb.
Expand Down

0 comments on commit edaa4da

Please sign in to comment.