diff options
Diffstat (limited to 'compressor.c')
| -rw-r--r-- | compressor.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compressor.c b/compressor.c index bca4210..358849b 100644 --- a/compressor.c +++ b/compressor.c @@ -26,7 +26,6 @@ static int parse_volume_flow(double val, const char *unit, Flow *flow); static int lsearch(const void *key, const void *base, size_t n, size_t size, int (*cmp)(const void *keyval, const void *datum)); static int toml_filter(const struct dirent *de); static int cmp_flow_unit(const void *key, const void *datum); -static void free_arr(void **arr, int n); /* Load descriptions of all of the compressor maps. @@ -269,11 +268,3 @@ toml_filter(const struct dirent *de) { } return strcmp(".toml", extension) == 0; /* extension is ".toml". */ } - -static void -free_arr(void **arr, int n) { - while (n-- > 0) { - free(arr[n]); - } - free(arr); -} |