Skip to content

Commit

Permalink
build warning free
Browse files Browse the repository at this point in the history
  • Loading branch information
FransVanEk committed Oct 12, 2014
1 parent 3c56b23 commit 28f4175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WannaApp.ExcelDemoAddIn/WannaApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private void GetObjects_Click(object sender, RibbonControlEventArgs e)
private int GetMaxValueDynamicInts(IEnumerable<Models.BaseModel> data)
{
return data.Where(d => d.DynamicInts != null && d.DynamicInts.Count > 0)
.Select(d => d.DynamicInts.Where(di => di !=null).Max()).Max();
.Select(d => d.DynamicInts.Max()).Max();
}


Expand Down

0 comments on commit 28f4175

Please sign in to comment.