jdict

command line tool for looking up terms in yomidict dictionaries
git clone anongit@rnpnr.xyz:jdict.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 56d26f751375f6b5cb0ce7c24dedf84d750f83a6
Parent: 55fba3d1594a3b06f14eadeb46ac261d7a6d5f9c
Author: Randy Palamar
Date:   Sat, 22 Oct 2022 13:46:39 -0600

fix typo in comment, remove useless/empty lines

Diffstat:
Mjdict.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/jdict.c b/jdict.c @@ -46,7 +46,6 @@ free_ents(DictEnt *ents, size_t nents) free(ents[i].term); } free(ents); - ents = NULL; } static int @@ -56,7 +55,6 @@ entcmp(const void *va, const void *vb) return strcmp(a->term, b->term); } - static void merge_ents(DictEnt *a, DictEnt *b) { @@ -93,7 +91,7 @@ dedup(DictEnt *ents, size_t *nents) /* all entries were copied to dents so old ents can be freed. * the term and defs ptrs shouldn't be removed since they still - * to their respective data. the duplicate ones are freed above + * point to their respective data. the duplicates were freed above */ free(ents); *nents = len;