From a466c145605c121ae61b742aa3b04735ca62643b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 14 Jul 2020 01:35:18 +0200 Subject: [PATCH] :art: Remove useless functions --- src/lib/string.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/string.c b/src/lib/string.c index c904f944..15fedaa3 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -465,12 +465,6 @@ static MFUN(string_toFloat) { *(m_float*)RETURN = atof(STRING(o)); } -static SFUN(char_toString) { - char c[2]; - sprintf(c, "%c", *(char*)MEM(0)); - *(M_Object*)RETURN = new_string(shred->info->vm->gwion->mp, shred, c); -} - GWION_IMPORT(string) { const Type t_string = gwi_class_ini(gwi, "string", NULL); gwi_class_xtor(gwi, string_ctor, NULL); -- 2.43.0