cppcheck: fix redundantCopy
scalloc calls calloc which allocates and zero-initializes array (see http://www.cplusplus.com/reference/cstdlib/calloc/) Note: there was another useless memset to 0 not detected by cppcheck Change-Id: Icc6458aef2ffb05fd33a858a65e0ec2dd36a8307
Showing
Please
register
or
sign in
to comment