Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
6ccf65d5
"alloc.h" did not exist on "7f0c7a29fd4d0f0623db522501c2b66eb8ebb94d"
Commit
6ccf65d5
authored
Sep 30, 2011
by
Pieter Noordhuis
Browse files
Fix compiler warnings
parent
74d000ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test-object.c
View file @
6ccf65d5
...
@@ -232,6 +232,9 @@ void test_destroy_callback(redis_parser *parser) {
...
@@ -232,6 +232,9 @@ void test_destroy_callback(redis_parser *parser) {
}
}
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
((
void
)
argc
);
((
void
)
argv
);
redis_parser
*
parser
=
malloc
(
sizeof
(
redis_parser
));
redis_parser
*
parser
=
malloc
(
sizeof
(
redis_parser
));
printf
(
"redis_object: %lu bytes
\n
"
,
sizeof
(
redis_object
));
printf
(
"redis_object: %lu bytes
\n
"
,
sizeof
(
redis_object
));
...
...
Write
Preview
Markdown
is supported
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