tree-wide: various code-formatting improvements

Reported/found by Coccinelle
This commit is contained in:
Frantisek Sumsal
2019-09-22 07:17:27 +02:00
committed by Yu Watanabe
parent 1697a28567
commit 38288f0bb8
7 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ void* greedy_realloc(void **p, size_t *allocated, size_t need, size_t size) {
* take possession of the extra space. This should be cheap, since libc doesn't have to move
* the memory for this. */
qq = realloc(q, bn * size);
qq = reallocarray(q, bn, size);
if (_likely_(qq)) {
*p = qq;
*allocated = bn;