From: Lennart Poettering Date: Tue, 14 Feb 2023 12:38:18 +0000 (+0100) Subject: mempool: rename local variable to match current coding style X-Git-Tag: v254-rc1~1243^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=993a9314c494501f8d22c03cafda38ca17c3d40f;p=thirdparty%2Fsystemd.git mempool: rename local variable to match current coding style --- diff --git a/src/basic/mempool.c b/src/basic/mempool.c index 92d8822bd94..29f72a81712 100644 --- a/src/basic/mempool.c +++ b/src/basic/mempool.c @@ -19,15 +19,16 @@ void* mempool_alloc_tile(struct mempool *mp) { /* When a tile is released we add it to the list and simply * place the next pointer at its offset 0. */ + assert(mp); assert(mp->tile_size >= sizeof(void*)); assert(mp->at_least > 0); if (mp->freelist) { - void *r; + void *t; - r = mp->freelist; - mp->freelist = * (void**) mp->freelist; - return r; + t = mp->freelist; + mp->freelist = *(void**) mp->freelist; + return t; } if (_unlikely_(!mp->first_pool) ||