Skip to content

Commit

Permalink
Fix several variables that were declared, but never used (compile tim…
Browse files Browse the repository at this point in the history
…e warnings)
  • Loading branch information
jimradford committed Nov 21, 2021
1 parent 82628a6 commit 76d002c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions SuperPutty/Data/SessionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ public static List<SessionData> LoadSessionsFromFile(string location)
}
}
}
catch (Exception ex)
catch (Exception)
{
Log.WarnFormat("Could not load sessions, URL did not return a success status code. file={0}", location);
}
Expand Down Expand Up @@ -524,7 +524,7 @@ public static List<SessionData> LoadSessionsFromFolder(string folderName)
sessionData.LocalPath = "";
sessions.Add(sessionData);
}
catch (Exception exp)
catch (Exception)
{
Log.WarnFormat("Could not load session {0}", sessionName);
}
Expand Down
6 changes: 3 additions & 3 deletions SuperPutty/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("https://www.jimradford.com/")]
[assembly: AssemblyProduct("SuperPuTTY")]
[assembly: AssemblyCopyright("Copyright © 2009 - 2020 Jim Radford")]
[assembly: AssemblyCopyright("Copyright © 2009 - 2021 Jim Radford")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.0.10")]
[assembly: AssemblyFileVersion("1.4.0.10")]
[assembly: AssemblyVersion("1.4.0.11")]
[assembly: AssemblyFileVersion("1.4.0.11")]
3 changes: 1 addition & 2 deletions SuperPutty/Utils/TabSwitcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ public void Dispose()
public ToolWindow ActiveDocument { get { return (ToolWindow)this.DockPanel.ActiveDocument; } }
public DockPanel DockPanel { get; private set; }

ITabSwitchStrategy tabSwitchStrategy;
ToolWindow currentDocument;
ITabSwitchStrategy tabSwitchStrategy;
}
#endregion

Expand Down

0 comments on commit 76d002c

Please sign in to comment.