-fix unsused variable
This commit is contained in:
parent
12736abcf7
commit
e1bf3661ec
@ -4259,13 +4259,14 @@ do_extensions_show (char *const *args)
|
|||||||
it = it->next)
|
it = it->next)
|
||||||
{
|
{
|
||||||
const struct TALER_Extension *extension = it->extension;
|
const struct TALER_Extension *extension = it->extension;
|
||||||
|
int ret;
|
||||||
|
|
||||||
GNUNET_assert (0 ==
|
ret = json_object_set_new (exts,
|
||||||
json_object_set_new (exts,
|
extension->name,
|
||||||
it->extension->name,
|
extension->config_to_json (extension));
|
||||||
it->extension->config_to_json (
|
GNUNET_assert (-1 != ret);
|
||||||
it->extension)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
obj = GNUNET_JSON_PACK (
|
obj = GNUNET_JSON_PACK (
|
||||||
GNUNET_JSON_pack_object_steal ("extensions",
|
GNUNET_JSON_pack_object_steal ("extensions",
|
||||||
exts));
|
exts));
|
||||||
|
Loading…
Reference in New Issue
Block a user