Skip to content

Commit 334377a

Browse files
author
Mattia Bertorello
committed
Removed unused code
1 parent dfae789 commit 334377a

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Diff for: commands/config/dump.go

-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ func initDumpCommand() *cobra.Command {
3838
}
3939
}
4040

41-
// This struct is unused
42-
//var dumpFlags struct {
43-
// _default bool // If false, ask questions to the user about setting configuration properties, otherwise use default configuration.
44-
// location string // The custom location of the file to create.
45-
//}
46-
4741
func runDumpCommand(cmd *cobra.Command, args []string) {
4842
logrus.Info("Executing `arduino config dump`")
4943

Diff for: commands/lib/uninstall.go

-6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ import (
2727
"github.com/spf13/cobra"
2828
)
2929

30-
// These const are unused
31-
//const (
32-
// versionAll string = "all"
33-
// versionLatest string = "latest"
34-
//)
35-
3630
func initUninstallCommand() *cobra.Command {
3731
uninstallCommand := &cobra.Command{
3832
Use: "uninstall LIBRARY_NAME(S)",

0 commit comments

Comments
 (0)