chiark / gitweb /
util: make malloc0 ask calloc for one block of size n
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 28 Aug 2015 19:16:39 +0000 (21:16 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:19:06 +0000 (10:19 +0100)
commit7b3edf97dca4aab8fc34209633c41a9d363b2a71
tree522c91e654b1d0b5c589114cca7dc10bc5f49506
parent969cc7c98a1ca4dd4e753a50ebf9d4f90ae9b2c5
util: make malloc0 ask calloc for one block of size n

... instead of an array of n individual bytes.

Silences a lot of warnings in smatch.
src/basic/util.h