Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexis Nasr
macaon2
Commits
c3ba79a0
Commit
c3ba79a0
authored
Jan 14, 2018
by
Alexis Nasr
Browse files
Merge branch 'fixhelp' into 'master'
fix uninitialized ctx->help variables See merge request
!10
parents
fa380ae0
4291c0d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
perceptron/exec/cff_cutoff.c
View file @
c3ba79a0
...
...
@@ -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
;
...
...
perceptron/lib/src/perceptron_context.c
View file @
c3ba79a0
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment