Skip to content
Snippets Groups Projects
Commit c3ba79a0 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

Merge branch 'fixhelp' into 'master'

fix uninitialized ctx->help variables

See merge request !10
parents fa380ae0 4291c0d1
No related branches found
No related tags found
1 merge request!10fix uninitialized ctx->help variables
......@@ -27,6 +27,7 @@ cff_cutoff_context *cff_cutoff_context_new(void)
{
cff_cutoff_context *ctx = (cff_cutoff_context *)memalloc(sizeof(cff_cutoff_context));
ctx->help = 0;
ctx->verbose = 0;
ctx->program_name = NULL;
ctx->vocabs_filename = NULL;
......
......@@ -19,6 +19,7 @@ perceptron_context *perceptron_context_new(void)
{
perceptron_context *ctx = (perceptron_context *)memalloc(sizeof(perceptron_context));
ctx->help = 0;
ctx->verbose = 0;
ctx->program_name = NULL;
ctx->perc_model_filename = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment