Browse Source

MT#58535 Shadow the `parse_str_flag()` because unused

It's a useful function for parsing flags, which
we most probably will need in the future, but unsed now.

Change-Id: I3bed7b52e565a24f4ea8ee791a5872ad9cb06228
pull/1809/head
Donat Zenichev 2 years ago
parent
commit
59dca7dcec
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/control_ng_flags_parser.c

+ 2
- 0
daemon/control_ng_flags_parser.c View File

@ -235,6 +235,7 @@ static void parse_repacketize(str * val, bencode_item_t * root_dict)
bencode_dictionary_add_integer(root_dict, "repacketize", packetize);
}
#if 0
static bool parse_str_flag(str * key, str * val, const char * name,
bencode_item_t * root_dict)
{
@ -246,6 +247,7 @@ static bool parse_str_flag(str * key, str * val, const char * name,
}
return false;
}
#endif
/**
* Parse flags from bencode string into given bencode dictionary.


Loading…
Cancel
Save