libcamera: cleanup unused variables

This commit is contained in:
raghu447 2020-06-15 17:45:01 +05:30
parent 7c05a7f7b4
commit 9c631842cb
5 changed files with 5 additions and 33 deletions

View file

@ -64,7 +64,6 @@ struct impl {
static int emit_object_info(struct impl *this, uint32_t id)
{
struct spa_device_object_info info;
const char *str;
struct spa_dict_item items[20];
uint32_t n_items = 0;
@ -113,7 +112,6 @@ static int
impl_device_add_listener(void *object, struct spa_hook *listener,
const struct spa_device_events *events, void *data)
{
int res;
struct impl *this = object;
struct spa_hook_list save;