Skip to content

Commit

Permalink
remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
poma committed Apr 10, 2019
1 parent da21ca2 commit dc69f1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion StatsFetcher/FileProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static void ExtractBasicData(Game game)
try {
p.GamesCount = int.Parse(p.HotsLogsProfile.GetElementbyId("ctl00_MainContent_RadGridGeneralInformation").SelectSingleNode(".//td[text()='Total Games Played']/../td[2]").InnerText);
}
catch (Exception e) { /* some dirty exception swallow */ }
catch (Exception) { /* some dirty exception swallow */ }
}
}

Expand Down
4 changes: 2 additions & 2 deletions StatsFetcher/ProfileFetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private async Task FetchBasicProfile(PlayerProfile p)
p.Ranks[mode] = new PlayerProfile.MmrValue(mode, (int)r.CurrentMMR, (PlayerProfile.League?)(int?)r.LeagueID, (int?)r.LeagueRank);
}
}
catch (Exception e) { /* some dirty exception swallow */ }
catch (Exception) { /* some dirty exception swallow */ }
}

private async Task FetchFullProfile(PlayerProfile p)
Expand All @@ -61,7 +61,7 @@ private async Task FetchFullProfile(PlayerProfile p)
doc.LoadHtml(str);
p.HotsLogsProfile = doc;
}
catch (Exception e) { /* some dirty exception swallow */ }
catch (Exception) { /* some dirty exception swallow */ }
}
}
}

0 comments on commit dc69f1e

Please sign in to comment.