projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5f9c978
)
- remove stray semicolon. duh
author
Michael Schroeder
<mls@suse.de>
Mon, 18 Apr 2011 09:52:38 +0000
(11:52 +0200)
committer
Michael Schroeder
<mls@suse.de>
Mon, 18 Apr 2011 09:52:38 +0000
(11:52 +0200)
src/queue.c
patch
|
blob
|
history
diff --git
a/src/queue.c
b/src/queue.c
index
b2de746
..
d22c382
100644
(file)
--- a/
src/queue.c
+++ b/
src/queue.c
@@
-94,7
+94,7
@@
queue_alloc_one_head(Queue *q)
if (!q->alloc || !q->left)
queue_alloc_one(q);
l = q->left > EXTRA_SPACE_HEAD ? EXTRA_SPACE_HEAD : q->left;
if (!q->alloc || !q->left)
queue_alloc_one(q);
l = q->left > EXTRA_SPACE_HEAD ? EXTRA_SPACE_HEAD : q->left;
- if (q->count)
;
+ if (q->count)
memmove(q->elements + l, q->elements, q->count * sizeof(Id));
q->elements += l;
q->left -= l;
memmove(q->elements + l, q->elements, q->count * sizeof(Id));
q->elements += l;
q->left -= l;