Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1d5992c authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix warnings in frameworks/av/media/libeffects/factory

* Remove unused variables.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ifd522c4f34c164a591ae0a51aea1cb48455c8c22
parent f325208b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -261,7 +261,6 @@ int EffectCreate(const effect_uuid_t *uuid, int32_t sessionId, int32_t ioId, eff
    effect_descriptor_t *d = NULL;
    effect_handle_t itfe;
    effect_entry_t *fx;
    int found = 0;
    int ret;

    if (uuid == NULL || pHandle == NULL) {
@@ -428,8 +427,6 @@ int EffectGetSubEffects(const effect_uuid_t *uuid, sub_effect_entry_t **pSube,
/////////////////////////////////////////////////

int init() {
    int hdl;

    if (gInitDone) {
        return 0;
    }
@@ -552,7 +549,6 @@ int EffectDumpEffects(int fd) {
    list_elem_t *e = gLibraryList;
    lib_entry_t *l = NULL;
    effect_descriptor_t *d = NULL;
    int found = 0;
    int ret = 0;

    dprintf(fd, "Libraries loaded:\n");