Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
netcdf
pr_att-Fix-uninitialized-variable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pr_att-Fix-uninitialized-variable.patch of Package netcdf
From: Egbert Eich <eich@suse.com> Date: Sat Jul 10 14:57:29 2021 +0200 Subject: pr_att(): Fix uninitialized variable Patch-mainline: Not yet Git-repo: https://github.com/Unidata/netcdf-c Git-commit: 66eade948d044832b0ca5feff824e1aca3c7fe68 References: Fix uninitialized variable in error path. Signed-off-by: Egbert Eich <eich@suse.com> Signed-off-by: Egbert Eich <eich@suse.de> --- ncdump/ncdump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ncdump/ncdump.c b/ncdump/ncdump.c index d333cc37..41f44683 100644 --- a/ncdump/ncdump.c +++ b/ncdump/ncdump.c @@ -896,6 +896,7 @@ pr_att( value = *((uint64_t *)data + i); break; default: + value = 0; /* GCC */ error("enum must have an integer base type: %d", base_nc_type); } NC_CHECK( nc_inq_enum_ident(ncid, att.type, value,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor