Commit 9c691885 authored by Swann Perarnau's avatar Swann Perarnau

[fix] unused variables.

parent bf9a3c14
Pipeline #8035 failed with stages
in 23 minutes and 58 seconds
...@@ -149,7 +149,6 @@ int aml_tiling_1d_destroy_iterator(struct aml_tiling_data *t, ...@@ -149,7 +149,6 @@ int aml_tiling_1d_destroy_iterator(struct aml_tiling_data *t,
struct aml_tiling_iterator **iter) struct aml_tiling_iterator **iter)
{ {
struct aml_tiling_iterator *it; struct aml_tiling_iterator *it;
struct aml_tiling_iterator_1d_data *data;
(void)t; (void)t;
if (iter == NULL) if (iter == NULL)
......
...@@ -129,6 +129,7 @@ int aml_tiling_2d_create_iterator(struct aml_tiling_data *tiling, ...@@ -129,6 +129,7 @@ int aml_tiling_2d_create_iterator(struct aml_tiling_data *tiling,
{ {
struct aml_tiling_iterator *ret; struct aml_tiling_iterator *ret;
struct aml_tiling_iterator_2d_data *data; struct aml_tiling_iterator_2d_data *data;
(void)flags;
if (it == NULL) if (it == NULL)
return -AML_EINVAL; return -AML_EINVAL;
...@@ -156,7 +157,6 @@ int aml_tiling_2d_destroy_iterator(struct aml_tiling_data *t, ...@@ -156,7 +157,6 @@ int aml_tiling_2d_destroy_iterator(struct aml_tiling_data *t,
struct aml_tiling_iterator **iter) struct aml_tiling_iterator **iter)
{ {
struct aml_tiling_iterator *it; struct aml_tiling_iterator *it;
struct aml_tiling_iterator_2d_data *data;
(void)t; (void)t;
if (iter == NULL) if (iter == NULL)
......
...@@ -103,7 +103,6 @@ int aml_vector_create(struct aml_vector **vec, size_t reserve, size_t size, ...@@ -103,7 +103,6 @@ int aml_vector_create(struct aml_vector **vec, size_t reserve, size_t size,
{ {
struct aml_vector *ret = NULL; struct aml_vector *ret = NULL;
void *ptr; void *ptr;
int err;
if (vec == NULL) if (vec == NULL)
return -AML_EINVAL; return -AML_EINVAL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment