summaryrefslogtreecommitdiff
path: root/xf86drmHash.c
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2018-11-07 14:30:29 +0000
committerEric Engestrom <eric.engestrom@intel.com>2018-11-09 10:59:11 +0000
commit0f2f38bf06ad6211fdfb07e5a4edace07e86f0fc (patch)
tree729fcc698ccc23e3b3cddc138b276fc043e7b275 /xf86drmHash.c
parent0be850441f24c55cf5a2f1ce3b33457add685b96 (diff)
downloadlibdrm-0f2f38bf06ad6211fdfb07e5a4edace07e86f0fc.tar.gz
libdrm-0f2f38bf06ad6211fdfb07e5a4edace07e86f0fc.tar.bz2
libdrm-0f2f38bf06ad6211fdfb07e5a4edace07e86f0fc.zip
xf86drmHash: remove unused loop variable
Reported-by: Jan Vesely <jano.vesely@gmail.com> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Diffstat (limited to 'xf86drmHash.c')
-rw-r--r--xf86drmHash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xf86drmHash.c b/xf86drmHash.c
index 891b7326..2cf2b80e 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;