On 16 November 2015 at 13:03, Anders Roxell <[email protected]> wrote:
> hashtable.c: In function 'odph_hash_table_create': > hashtable.c:68:6: warning: unused variable 'idx' [-Wunused-variable] > int idx, i; > ^ > hashtable.c: In function 'odph_hash_table_lookup': > hashtable.c:151:6: warning: unused variable 'idx' [-Wunused-variable] > int idx; > ^ > > Signed-off-by: Anders Roxell <[email protected]> > For series Reviewed-by: Mike Holmes <[email protected]> > --- > helper/hashtable.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/helper/hashtable.c b/helper/hashtable.c > index 0b29814..1121beb 100644 > --- a/helper/hashtable.c > +++ b/helper/hashtable.c > @@ -65,7 +65,7 @@ odph_table_t odph_hash_table_create(const char *name, > uint32_t capacity, > uint32_t key_size, > uint32_t value_size) > { > - int idx, i; > + int i; > uint32_t node_num; > odph_hash_table_imp *tbl; > odp_shm_t shmem; > @@ -148,7 +148,6 @@ int odph_hash_table_destroy(odph_table_t table) > > odph_table_t odph_hash_table_lookup(const char *name) > { > - int idx; > odph_hash_table_imp *hash_tbl; > > if (name == NULL || strlen(name) >= ODPH_TABLE_NAME_LEN) > -- > 2.1.4 > > _______________________________________________ > lng-odp mailing list > [email protected] > https://lists.linaro.org/mailman/listinfo/lng-odp > -- Mike Holmes Technical Manager - Linaro Networking Group Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs
_______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
