diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-05-22 14:04:36 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-06-12 13:38:05 +0200 |
| commit | 4f9a2c7a2d8464b04cc08075a7762c6d457090df (patch) | |
| tree | ae8fe229a3a5ba60d08b74299d0c1850685bda86 /src/section/function.c | |
| parent | f25b015e5b668028c34974bbb22faa4105c26690 (diff) | |
| download | nanowasm-sync-4f9a2c7a2d8464b04cc08075a7762c6d457090df.tar.gz | |
WIP
Diffstat (limited to 'src/section/function.c')
| -rw-r--r-- | src/section/function.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/section/function.c b/src/section/function.c index 3ffed36..0395b24 100644 --- a/src/section/function.c +++ b/src/section/function.c @@ -28,11 +28,6 @@ static int run(FILE *const f, const varuint32 idx, LOG("%s: varuint32_read count failed\n", __func__); return -1; } - else if (count > ULONG_MAX - 1) - { - fprintf(stderr, "%s: count overflow\n", __func__); - return -1; - } for (varuint32 i = 0; i < count; i++) { |
