[tboot-devel] tboot-1.7.3/tboot/common/hash.c:137: possible cut'n'paste error ?

2013-11-19 Thread David Binderman
hello there, I recently ran the static analyser "cppcheck" over the source code of tboot-1.7.3 It said [common/hash.c:137] -> [common/hash.c:137]: (style) Same expression on both sides of '||'. Source code is void copy_hash(tb_hash_t *dest_hash, const tb_hash_t *src_hash,    uint

Re: [tboot-devel] tboot-1.7.3/tboot/common/hash.c:137: possible cut'n'paste error ?

2013-11-19 Thread Wei, Gang
David Binderman wrote on 2013-11-20: > hello there, > > I recently ran the static analyser "cppcheck" over the source code of > tboot-1.7.3 > > It said > > [common/hash.c:137] -> [common/hash.c:137]: (style) Same expression on > both sides of '||'. > > Source code is > > void copy_hash(tb_hash