Revert "exactness: do not access potential NULL pointer"

This reverts commit 7452700618.
This commit is contained in:
Stefan Schmidt 2020-04-24 11:53:07 +02:00
parent 890d0d0057
commit 0013ea8c36
1 changed files with 2 additions and 5 deletions

View File

@ -1020,11 +1020,8 @@ _write_unit_file(void)
Exactness_Unit *tmp = NULL;
EINA_SAFETY_ON_NULL_RETURN(_src_unit);
if (_src_type == FTYPE_EXU)
{
tmp = exactness_unit_file_read(_src_filename);
_dest_unit->actions = tmp->actions;
}
if (_src_type == FTYPE_EXU) tmp = exactness_unit_file_read(_src_filename);
_dest_unit->actions = tmp->actions;
exactness_unit_file_write(_dest_unit, _dest);
}
}