diff options
Diffstat (limited to 'src/stdlib/functiontype.c')
| -rw-r--r-- | src/stdlib/functiontype.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdlib/functiontype.c b/src/stdlib/functiontype.c index 8c864611..f169057a 100644 --- a/src/stdlib/functiontype.c +++ b/src/stdlib/functiontype.c @@ -89,8 +89,9 @@ public Text_t Func$as_text(const void *fn, bool colorize, const TypeInfo_t *type return text; } -public PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t*) +public PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t *info) { + (void)info; return *(void**)obj == NULL; } |
