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
@ -529,7 +529,7 @@ build_dp(const char *efimedia, const char *relpath, efidp *dp)
|
||||
{
|
||||
char *fp, *dptxt = NULL;
|
||||
int rv = 0;
|
||||
efidp out;
|
||||
efidp out = NULL;
|
||||
size_t len;
|
||||
|
||||
fp = path_to_file_dp(relpath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user