mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
Initialize hid_t variables in test_Attr_bug9.
This commit is contained in:
parent
04bb800f7c
commit
bca20b40b4
@ -10595,10 +10595,10 @@ test_attr_bug8(hid_t fcpl, hid_t fapl)
|
|||||||
static void
|
static void
|
||||||
test_attr_bug9(hid_t fcpl, hid_t fapl)
|
test_attr_bug9(hid_t fcpl, hid_t fapl)
|
||||||
{
|
{
|
||||||
hid_t fid; /* File ID */
|
hid_t fid = -1; /* File ID */
|
||||||
hid_t gid; /* Group ID */
|
hid_t gid = -1; /* Group ID */
|
||||||
hid_t aid; /* Attribute ID */
|
hid_t aid = -1; /* Attribute ID */
|
||||||
hid_t sid; /* Dataspace ID */
|
hid_t sid = -1; /* Dataspace ID */
|
||||||
hsize_t dims[1] = {32768}; /* Attribute dimensions */
|
hsize_t dims[1] = {32768}; /* Attribute dimensions */
|
||||||
int create_link; /* Whether to create a soft link */
|
int create_link; /* Whether to create a soft link */
|
||||||
unsigned max_compact; /* Setting from fcpl */
|
unsigned max_compact; /* Setting from fcpl */
|
||||||
|
Loading…
Reference in New Issue
Block a user