From ea313d6252d8c79b9d86061c57c0004057a6a95b Mon Sep 17 00:00:00 2001 From: starnakin Date: Thu, 29 Jun 2023 14:06:37 +0200 Subject: [PATCH] fix: remove trash main --- src/utils/split_quoted.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/utils/split_quoted.c b/src/utils/split_quoted.c index 743ec76..d3d69d5 100644 --- a/src/utils/split_quoted.c +++ b/src/utils/split_quoted.c @@ -66,14 +66,3 @@ char **split_quoted_charset(const char *str, const char *charset) return NULL; return (tab); } - -int main(int ac, char** av) -{ - size_t i = 0; - char** tab; - if (ac != 2) - return 1; - tab = split_quoted_charset(av[1], " \t"); - while ( tab[i] ) printf( "%s\n", tab[i++] ); - free_tab(tab); -}