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:
parent
5f2829b0a0
commit
7a18ae6da4
@ -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