Skip to content

Commit

Permalink
Remove unused variable failedPane.
Browse files Browse the repository at this point in the history
This code causes sphere-setup-assistant to die because it executes
this (initialization) code but doesn't have an image path which can resolve the gif name.

Since failedPane isn't actually used by anything, it seems safe to delete it.

Signed-off-by: Jon Seymour <[email protected]>
  • Loading branch information
Jon Seymour committed Apr 8, 2015
1 parent 7bf7df3 commit 80d20b7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ui/PaneLayout.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"time"

"github.com/ninjasphere/gestic-tools/go-gestic-sdk"
"github.com/ninjasphere/sphere-go-led-controller/util"

"github.com/ninjasphere/go-ninja/api"
"github.com/ninjasphere/go-ninja/config"
Expand All @@ -30,8 +29,6 @@ var forceAllPanes = config.Bool(false, "led.forceAllPanes")
var logGestures = config.Bool(false, "led.gestures.log")
var enableGestures = config.Bool(true, "led.gestures.enable")

var failedPane = NewImagePane(util.ResolveImagePath("pairing-code-incorrect.gif"))

type PaneLayout struct {
currentPane int
targetPane int
Expand Down

0 comments on commit 80d20b7

Please sign in to comment.