Peter Jones
598de14d93
squash4: Fix an uninitialized variable
...
gcc says:
grub-core/fs/squash4.c: In function ‘direct_read’:
grub-core/fs/squash4.c:868:10: error: ‘err’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
868 | if (err)
| ^
cc1: all warnings being treated as errors
This patch initializes it to GRUB_ERR_NONE.
Signed-off-by: Peter Jones <pjones@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-01-28 21:22:01 +01:00
..
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2011-10-30 16:10:18 +01:00
2015-07-27 13:19:02 +02:00
2019-04-09 10:03:29 +10:00
2019-12-06 20:38:01 +01:00
2019-04-09 10:03:29 +10:00
2013-12-15 14:14:30 +01:00
2019-04-23 11:37:08 +02:00
2013-12-15 14:14:30 +01:00
2011-04-11 18:13:00 +02:00
2019-04-09 10:03:29 +10:00
2019-06-03 11:18:31 +02:00
2019-04-09 10:03:29 +10:00
2015-07-27 12:45:35 +02:00
2019-04-09 10:03:29 +10:00
2019-04-23 11:37:08 +02:00
2013-12-18 23:39:49 +01:00
2019-04-09 10:03:29 +10:00
2019-04-23 11:37:08 +02:00
2012-04-01 21:35:18 +02:00
2010-09-08 19:13:48 +02:00
2012-04-01 21:35:18 +02:00
2011-04-11 08:16:13 +02:00
2012-04-01 21:35:18 +02:00
2019-04-09 10:03:29 +10:00
2013-12-15 14:14:30 +01:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2016-02-17 17:56:41 +01:00
2013-12-15 14:14:30 +01:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2020-01-28 21:22:01 +01:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00
2010-05-06 11:34:04 +05:30
2012-12-08 20:56:58 +01:00
2019-04-09 10:03:29 +10:00
2019-04-09 10:03:29 +10:00