Commit 3bfebc24 authored by Marc Gravell's avatar Marc Gravell

fixed silly null check and incorrect comment

parent 51509960
......@@ -1214,11 +1214,7 @@ public DapperTable(string[] fieldNames)
for (int i = fieldNames.Length - 1; i >= 0; i--)
{
string key = fieldNames[i];
if (key != null)
{
// in case of dups, keep the *last* key, arbitrarily; avoids a check
fieldNameLookup[key] = i;
}
if (key != null) fieldNameLookup[key] = i;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment