pmap: silence a clang -Wuninitialized variable warning
Reference(s): pmap.c:618:20: warning: variable 'start' is uninitialized when used here [-Wuninitialized] maxw1, start, ^~~~~ Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
8072b6aa84
commit
0299bd15b0
2
pmap.c
2
pmap.c
@ -588,7 +588,7 @@ static int one_proc(proc_t * p)
|
|||||||
char perms[32];
|
char perms[32];
|
||||||
/* to clean up unprintables */
|
/* to clean up unprintables */
|
||||||
char *tmp;
|
char *tmp;
|
||||||
unsigned KLONG start, end;
|
unsigned KLONG end, start = 0;;
|
||||||
unsigned long long file_offset, inode;
|
unsigned long long file_offset, inode;
|
||||||
unsigned dev_major, dev_minor;
|
unsigned dev_major, dev_minor;
|
||||||
unsigned long long smap_value;
|
unsigned long long smap_value;
|
||||||
|
Loading…
Reference in New Issue
Block a user