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
Tammo Jan Dijkema
dt_ctrl
Commits
2e8dca6e
Commit
2e8dca6e
authored
Feb 20, 2013
by
Jeroen Vreeken
Browse files
fix spg_test.c build warnings
parent
3159a6a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
controller/test/spg_test.c
View file @
2e8dca6e
...
...
@@ -33,7 +33,7 @@
struct
block
{
char
*
name
;
struct
controller_block
*
(
*
create
)(
char
*
);
struct
controller_block
*
(
*
create
)(
char
*
name
,
va_list
ap
);
};
struct
param_misc
{
...
...
@@ -81,7 +81,7 @@ int main(int argc, char **argv)
/* Create blocks */
for
(
i
=
0
;
controller_blocks
[
i
].
name
;
i
++
)
{
block
=
controller_blocks
[
i
].
create
(
controller_blocks
[
i
].
name
);
block
=
controller_blocks
[
i
].
create
(
controller_blocks
[
i
].
name
,
NULL
);
if
(
!
block
)
printf
(
"Could not create block %s
\n
"
,
controller_blocks
[
i
].
name
);
...
...
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