Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
b09cd0e1
Commit
b09cd0e1
authored
Jul 02, 2016
by
Paul Sokolovsky
Browse files
extmod/modbtree: Fix unused argument warning.
parent
737bd9c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
extmod/modbtree.c
View file @
b09cd0e1
...
...
@@ -86,6 +86,7 @@ STATIC mp_obj_t btree_close(mp_obj_t self_in) {
STATIC
MP_DEFINE_CONST_FUN_OBJ_1
(
btree_close_obj
,
btree_close
);
STATIC
mp_obj_t
btree_put
(
size_t
n_args
,
const
mp_obj_t
*
args
)
{
(
void
)
n_args
;
mp_obj_btree_t
*
self
=
MP_OBJ_TO_PTR
(
args
[
0
]);
DBT
key
,
val
;
key
.
data
=
(
void
*
)
mp_obj_str_get_data
(
args
[
1
],
&
key
.
size
);
...
...
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