Init error to 0 for sdmmc_mem_single_{read,write}_block
authorjsg <jsg@openbsd.org>
Wed, 22 Apr 2015 04:02:06 +0000 (04:02 +0000)
committerjsg <jsg@openbsd.org>
Wed, 22 Apr 2015 04:02:06 +0000 (04:02 +0000)
commit3deb5ba1e11bcba8a61efd855bfd8e9f58427a31
tree49fef533ac69c993af6b3f4e13a58d60dc210f90
parent498c03681bf6f93bdc87b70ad76481260e4834b9
Init error to 0 for sdmmc_mem_single_{read,write}_block
otherwise the value would be uninitialised in the unlikely
case of being called with length 0.
sys/dev/sdmmc/sdmmc_mem.c