diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-02-13 14:16:05 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2016-06-05 16:24:55 +0200 |
commit | 7a3c6fe86ca55b4ef69b11443b87359b333bc20b (patch) | |
tree | 874a7932dec12dcf6e39d98e83f71656513778a2 /src/core/misc.c | |
parent | 72712a0c62b0403f0fa472ccbe34fda8fb2cd530 (diff) | |
download | irssi-7a3c6fe86ca55b4ef69b11443b87359b333bc20b.zip |
Replace strarray_length with g_strv_length
Diffstat (limited to 'src/core/misc.c')
-rw-r--r-- | src/core/misc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/core/misc.c b/src/core/misc.c index 682d006c..70d09e55 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -150,20 +150,6 @@ int find_substr(const char *list, const char *item) return FALSE; } -int strarray_length(char **array) -{ - int len; - - g_return_val_if_fail(array != NULL, 0); - - len = 0; - while (*array) { - len++; - array++; - } - return len; -} - int strarray_find(char **array, const char *item) { char **tmp; |