Removed unesserary variable
This commit is contained in:
parent
fb6cf14402
commit
06aa7969bf
@ -57,9 +57,6 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System
|
||||
// Iterate through data
|
||||
foreach (KeyValuePair<string, object> data_keySet in data)
|
||||
{
|
||||
// If the data was set
|
||||
bool dataIsSet = false;
|
||||
|
||||
// Interate through class-fields
|
||||
foreach (KeyValuePair<string, FieldInfo> field_keySet in dbFields)
|
||||
{
|
||||
@ -67,7 +64,6 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System
|
||||
if (field_keySet.Key.ToLower() == data_keySet.Key.ToLower())
|
||||
{
|
||||
field_keySet.Value.SetValue(classObject, data_keySet.Value);
|
||||
dataIsSet = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user