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:
parent
2fbc578cfa
commit
0f377a04e5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user