--- hfst-3.8.2/tools/src/hfst-reweight.cc +++ hfst-3.8.2/tools/src/hfst-reweight_new.cc @@ -409,7 +409,7 @@ free(symbol); addition = 0; multiplier = 1; - char* line; + char* line = NULL; size_t len = 0; size_t linen = 0; verbose_printf("Reading reweights from %s\n", tsv_file_name);