1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-31 14:50:37 +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 5f2829b0a0
commit 7a18ae6da4

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;