X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=typing%2Fintegeritem.c;h=f557c3f518f5b6acca74c8f725278d949655e647;hb=6c8c48c0f9dff2154a82f6960d83a706abd523a0;hp=221fb7095fce341e6fba8d974edf4c1f08d96f04;hpb=bf886807c380152f6798f68965cc1cd7536bd8c5;p=rrq%2Frrqmisc.git diff --git a/typing/integeritem.c b/typing/integeritem.c index 221fb70..f557c3f 100644 --- a/typing/integeritem.c +++ b/typing/integeritem.c @@ -10,6 +10,7 @@ * the hashcode index. */ static unsigned long integeritem_hashcode(void *this,void *key) { + (void)this; return (unsigned long) key; } @@ -18,6 +19,7 @@ static unsigned long integeritem_hashcode(void *this,void *key) { * given key or not. */ static int integeritem_haskey(void *this,void *item,void *key) { + (void)this; return item == key; } @@ -26,6 +28,7 @@ static int integeritem_haskey(void *this,void *item,void *key) { * the arity and schema. */ static void *integeritem_itemkey(void *this,void *item) { + (void)this; return item; } @@ -34,6 +37,7 @@ static void *integeritem_itemkey(void *this,void *item) { * callback function to reclaim temporary allocation. */ static void integeritem_releasekey(void *this,void *key) { + (void)this; (void)key; } /** @@ -41,6 +45,7 @@ static void integeritem_releasekey(void *this,void *key) { * a character buffer. */ static int integeritem_tostring(void *this,void *item,char *buffer,int limit) { + (void)this; return snprintf( buffer, limit, "%lld", (long long) item ); }