Skip to content

Commit

Permalink
remove unused try/catch
Browse files Browse the repository at this point in the history
  • Loading branch information
enricosada committed Feb 27, 2015
1 parent 4a05993 commit c4fb65d
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,8 @@ public override string Culture
{
get
{
int locale = 0;
try
{
locale = BaseReferenceNode.LCID;
}
catch (System.FormatException)
{
// Do Nothing
}
var locale = BaseReferenceNode.LCID;

if (0 == locale)
{
return string.Empty;
Expand Down

0 comments on commit c4fb65d

Please sign in to comment.