[PATCH libdrm] xf86drmHash: remove unused loop variable
Eric Engestrom
eric.engestrom at intel.com
Wed Nov 7 14:44:42 UTC 2018
Reported-by: Jan Vesely <jano.vesely at gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
xf86drmHash.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/xf86drmHash.c b/xf86drmHash.c
index 891b732632c36d373ac9..2cf2b80ed9e02310f0ff 100644
--- a/xf86drmHash.c
+++ b/xf86drmHash.c
@@ -105,7 +105,6 @@ static unsigned long HashHash(unsigned long key)
drm_public void *drmHashCreate(void)
{
HashTablePtr table;
- int i;
table = drmMalloc(sizeof(*table));
if (!table) return NULL;
--
Cheers,
Eric
More information about the dri-devel
mailing list