Skip to content

Commit 52ef989

Browse files
authored
[Xamarin.Android.Tools.AndroidSdk] Fix CS0168 warning (#116)
Fix CS0168 warning in `JdkLocations.Windows.cs`: Jdks/JdkLocations.Windows.cs(42,24): warning CS0168: The variable 'e' is declared but never used
1 parent d92fc3e commit 52ef989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Tools.AndroidSdk/Jdks/JdkLocations.Windows.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected static IEnumerable<JdkInfo> GetWindowsFileSystemJdks (string pattern,
3939
try {
4040
homes = Directory.EnumerateDirectories (root, pattern);
4141
}
42-
catch (IOException e) {
42+
catch (IOException) {
4343
continue;
4444
}
4545
foreach (var home in homes) {

0 commit comments

Comments
 (0)