Files
Charles KerrandYat Ho c434ef05c9 refactor: remove some of the unused C-style tr_variantFooBar() methods (#8878)
* refactor: stop using tr_variant C API in Controller.mm

* refactor: remove unused tr_variantDictAddReal()

* refactor: add gtr_pref_lookup()

* refactor: remove unused tr_variantDictFindReal()

* refactor: remove unused tr_variantDictFindBool()

* refactor: remove unused tr_variantListAddBool()

* refactor: remove unused tr_variantListAddInt()

* refactor: remove unused tr_variantListAddReal()

* refactor: remove unused tr_variantListAddRaw()

* refactor: remove unused tr_variantListAddDict()

* refactor: remove unused tr_variantListAddStrView()

* refactor: stop using tr_variant C API in tr-dht.cc

* refactor: remove unused tr_variantDictAddRaw()

* refactor: remove unused tr_variantDictReserve()

* refactor: stop using tr_variant C API in utils/edit.cc

* refactor: remove unused tr_variantListAddStr()

* refactor: remove unused tr_variantListAddList()

* refactor: stop using tr_variant C API in variant-benc.cc

* refactor: stop using tr_variant C API in variant-json.cc

* refactor: remove unused tr_variantDictFindRaw()

* refactor: remove unused tr_variantDictFindStrView()

* refactor: remove obsolete ensure_sound_cmd_is_a_list()

* fix: bugprone-unchecked-optional-access

* refactor: stop using tr_variant C API in cli.cc

* refactor: remove unused tr_variantDictAddBool()

* refactor: remove unused tr_variantDictAddStr()

* fix: clang-diagnostic-float-equal

* fix: misc-unused-alias-decls

* refactor: remove unused tr_variantDictRemove()

* refactor: remove unused tr_variantGetRaw()

* refactor: remove unused tr_variantListRemove()

* refactor: remove unused tr_variantListReserve()

* fix: warning: potential null pointer dereference

* fix: error: potential null pointer dereference [-Werror=null-dereference]

* fix: error: ‘<anonymous>’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

* Apply suggestions from code review

Co-authored-by: Yat Ho <lagoho7@gmail.com>

* refactor: replace had_announce with announce_opt

* Revert "refactor: replace had_announce with announce_opt"

This reverts commit 2e059907e9.

---------

Co-authored-by: Yat Ho <lagoho7@gmail.com>
2026-06-08 13:39:21 -05:00
..