mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r2883] Purpose:
Removed warnings about unused parameters. Solution: ``Used'' the parameters by assigning them to themselves. Platforms tested: Linux
This commit is contained in:
parent
c675002809
commit
5f41cdba4d
@ -208,6 +208,10 @@ attr_info(hid_t loc_id, const char *name, void *opdata)
|
||||
int i;
|
||||
size_t npoints; /* Number of elements in the array attribute. */
|
||||
float *float_array; /* Pointer to the array attribute. */
|
||||
|
||||
/* avoid warnings */
|
||||
opdata = opdata;
|
||||
|
||||
/*
|
||||
* Open the attribute using its name.
|
||||
*/
|
||||
|
@ -153,6 +153,10 @@ main(void)
|
||||
*/
|
||||
herr_t file_info(hid_t loc_id, const char *name, void *opdata)
|
||||
{
|
||||
/* avoid warnings */
|
||||
loc_id = loc_id;
|
||||
opdata = opdata;
|
||||
|
||||
/*
|
||||
* Display group name. The name is passed to the function by
|
||||
* the Library. Some magic :-)
|
||||
@ -177,6 +181,10 @@ herr_t group_info(hid_t loc_id, const char *name, void *opdata)
|
||||
hsize_t chunk_dims_out[2];
|
||||
|
||||
int rank_chunk;
|
||||
|
||||
/* avoid warnings */
|
||||
opdata = opdata;
|
||||
|
||||
/*
|
||||
* Open the datasets using their names.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user