rogerz/uffs — Issue #1: repeated operations in uffs_OpenObjectEx and uffs_ParseObject
Author: rogerz
Created: 2011-10-10 06:19:39+00:00
State: open

Line 440, src\uffs_fs.c

obj->oflag = oflag;
obj->parent = dir;
obj->type = (oflag & UO_DIR ? UFFS_TYPE_DIR : UFFS_TYPE_FILE);
obj->pos = 0;
obj->dev = dev;
obj->name = name;
obj->name_len = name_len;

Some member are already initialized in uffs_ParseObject()