diff options
| author | Catherine Sullivan <catherine.sullivan@intel.com> | 2016-04-13 03:08:27 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-05-01 17:05:05 -0700 |
| commit | 3ed439c56e0d82fd08275fff2c21278f92ed8ec5 (patch) | |
| tree | 0cf02021059795220643d695be2581bbdb2b24cf /scripts/gdb/linux/tasks.py | |
| parent | b29699b39924db73993734a605665cf4bebef9ea (diff) | |
i40e: Fix uninitialized variable
We have an uninitialized variable warning for valid_len for one case in
validate_vf_mesg. To fix this, just initialize it to 0 at the top of the
function and remove all of the now redundant assignments to 0 in the
individual cases.
Change-Id: Iacbd97f4c521ed8d662eef803a598d8707708cfd
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
