projects
/
rrq
/
rrqmisc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
portability fixes
[rrq/rrqmisc.git]
/
vector
/
HashVector.c
diff --git
a/vector/HashVector.c
b/vector/HashVector.c
index 7b68c59f9f3e9ded09e8e3a4151bdbf94bb120c4..19269c1a0eaec61137ee12565bcf92905ee83154 100644
(file)
--- a/
vector/HashVector.c
+++ b/
vector/HashVector.c
@@
-78,6
+78,7
@@
void *HashVector_next(HashVector *hv,VectorIndex *index) {
}
static int capture_item(Vector *pv,unsigned long ix,void *item,void *data) {
}
static int capture_item(Vector *pv,unsigned long ix,void *item,void *data) {
+ (void)pv; (void)ix;
if ( item && item != HV_HOLE ) {
HashVector_add( (HashVector *) data, item );
}
if ( item && item != HV_HOLE ) {
HashVector_add( (HashVector *) data, item );
}
@@
-85,6
+86,7
@@
static int capture_item(Vector *pv,unsigned long ix,void *item,void *data) {
}
static int iter_item(unsigned long ix,void *item,void *data) {
}
static int iter_item(unsigned long ix,void *item,void *data) {
+ (void)ix;
if ( item && item != HV_HOLE ) {
HashVector_add( (HashVector *) data, item );
}
if ( item && item != HV_HOLE ) {
HashVector_add( (HashVector *) data, item );
}