Ensure that "out" is initialized in all error paths.
Reported by: gcc Reviewed by: cem Differential Revision: https://reviews.freebsd.org/D13402
This commit is contained in:
parent
b6721e4a5c
commit
3e4f07fc77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326658
@ -529,7 +529,7 @@ build_dp(const char *efimedia, const char *relpath, efidp *dp)
|
|||||||
{
|
{
|
||||||
char *fp, *dptxt = NULL;
|
char *fp, *dptxt = NULL;
|
||||||
int rv = 0;
|
int rv = 0;
|
||||||
efidp out;
|
efidp out = NULL;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
fp = path_to_file_dp(relpath);
|
fp = path_to_file_dp(relpath);
|
||||||
|
Loading…
Reference in New Issue
Block a user