1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

dmsetup: initilize winsize struct

Ensure winsize struct is always defined.
This commit is contained in:
Zdenek Kabelac 2020-08-29 20:35:49 +02:00
parent 2fbc578cfa
commit 0f377a04e5

View File

@ -6494,7 +6494,7 @@ static int _stats(CMD_ARGS)
static int _process_tree_options(const char *options)
{
const char *s, *end;
struct winsize winsz;
struct winsize winsz = { 0 };
size_t len;
/* Symbol set default */