Skip to content

Commit

Permalink
[Xamarin.Android.Tools.AndroidSdk] Fix CS0168 warning (#116)
Browse files Browse the repository at this point in the history
Fix CS0168 warning in `JdkLocations.Windows.cs`:

	Jdks/JdkLocations.Windows.cs(42,24): warning CS0168: The variable 'e' is declared but never used
  • Loading branch information
jonpryor authored Apr 21, 2021
1 parent d92fc3e commit 52ef989
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected static IEnumerable<JdkInfo> GetWindowsFileSystemJdks (string pattern,
try {
homes = Directory.EnumerateDirectories (root, pattern);
}
catch (IOException e) {
catch (IOException) {
continue;
}
foreach (var home in homes) {
Expand Down

0 comments on commit 52ef989

Please sign in to comment.