diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-05-06 13:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 13:27:40 +0200 |
commit | 98cd1671a3420875b90aebf0e92a0ab762facb51 (patch) | |
tree | 68771c008f25bafa0357f460c2050d887da5e101 /lib | |
parent | 436af88d8c436265c751bbbc0d76ef42aab0cdf0 (diff) | |
download | Nim-98cd1671a3420875b90aebf0e92a0ab762facb51.tar.gz |
minor cleanups (#17948)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/alloc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim index 76c744f59..c598b8250 100644 --- a/lib/system/alloc.nim +++ b/lib/system/alloc.nim @@ -373,7 +373,7 @@ iterator elements(t: IntSet): int {.inline.} = r = r.next proc isSmallChunk(c: PChunk): bool {.inline.} = - return c.size <= SmallChunkSize-smallChunkOverhead() + result = c.size <= SmallChunkSize-smallChunkOverhead() proc chunkUnused(c: PChunk): bool {.inline.} = result = (c.prevSize and 1) == 0 |