projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe6967d
)
Fix compiler warning in rpmhash Resize()
author
Florian Festi
<ffesti@redhat.com>
Fri, 7 May 2010 11:06:40 +0000
(13:06 +0200)
committer
Florian Festi
<ffesti@redhat.com>
Fri, 7 May 2010 11:06:40 +0000
(13:06 +0200)
lib/rpmhash.C
patch
|
blob
|
history
diff --git
a/lib/rpmhash.C
b/lib/rpmhash.C
index
1a99219
..
016afb2
100644
(file)
--- a/
lib/rpmhash.C
+++ b/
lib/rpmhash.C
@@
-83,7
+83,7
@@
HASHTYPE HASHPREFIX(Create)(int numBuckets,
return ht;
}
-static HASHPREFIX(Resize)(HASHTYPE ht, int numBuckets) {
+static
void
HASHPREFIX(Resize)(HASHTYPE ht, int numBuckets) {
Bucket * buckets = xcalloc(numBuckets, sizeof(*ht->buckets));
for (int i=0; i<ht->numBuckets; i++) {