mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
all: remove unused fields, functions and add missing error handling
Credit to staticcheck.io. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -95,11 +95,10 @@ type Ops struct {
|
||||
// StackOp saves and restores the operation state
|
||||
// in a stack-like manner.
|
||||
type StackOp struct {
|
||||
stackDepth int
|
||||
id stackID
|
||||
macroID int
|
||||
active bool
|
||||
ops *Ops
|
||||
id stackID
|
||||
macroID int
|
||||
active bool
|
||||
ops *Ops
|
||||
}
|
||||
|
||||
// MacroOp records a list of operations for later use.
|
||||
|
||||
Reference in New Issue
Block a user