1
0
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:
Zdenek Kabelac 2011-01-13 15:03:28 +00:00
parent 8f506ae67b
commit 888d273f9a

View File

@ -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;