mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Set default value to counter_last
Missed in previous commit and could be using some random stack value.
This commit is contained in:
parent
8f506ae67b
commit
888d273f9a
@ -110,7 +110,7 @@ static int outline(char *buf, int start, int force) {
|
||||
}
|
||||
|
||||
static void dump(void) {
|
||||
int counter_last, counter = 0;
|
||||
int counter_last = -1, counter = 0;
|
||||
|
||||
while ( counter < readbuf_used && counter != counter_last ) {
|
||||
counter_last = counter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user