From: compudj Date: Mon, 16 Aug 2004 05:24:55 +0000 (+0000) Subject: unnecessary check removed X-Git-Tag: v0.12.20~2698 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d37b2aaa99c55ac67b036c7ed99fd7378df6b926;p=lttv.git unnecessary check removed git-svn-id: http://ltt.polymtl.ca/svn@791 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index b614170a..aea40ab4 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -1795,10 +1795,8 @@ static inline gint getFieldtypeSize(LttTracefile * t, } size = offset2; }else size = fld->field_size; - if(unlikely(!evD)){ - fld->fixed_root = (offsetRoot==-1) ? 0 : 1; - fld->fixed_parent = (offsetParent==-1) ? 0 : 1; - } + fld->fixed_root = (offsetRoot==-1) ? 0 : 1; + fld->fixed_parent = (offsetParent==-1) ? 0 : 1; break; default: