Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ncf 177 #8

Merged
merged 8 commits into from
Dec 3, 2013
Merged

Ncf 177 #8

merged 8 commits into from
Dec 3, 2013

Conversation

qkoziol
Copy link
Contributor

@qkoziol qkoziol commented Dec 1, 2013

Address NCF-177, plus other code cleanups, simplifications and optimizations.

Tested on Mac OSX 10.9.0 with gcc 4.8.2 and also with OpenMPI (using clang)

…Also

many cleanups to fix compiler warnings, streamline iteration over objects
in HDF5 file when opening the file, and generally straightening out the code
to be cleaner and simpler.

Tested on Mac OS/X with gcc 4.8 and OpenMPI (which uses clang).

if (H5Gget_objinfo(did, ".", 1, &statbuf) < 0) ERR;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just reviewing some changes in the test code, and it's not clear why this line was deleted.

Was it deleted because it was

  • a correct test implemented incorrectly?
  • an unnecessary test, because logically the failure could not occur?
  • a test that is expected to fail?
  • a test that failed, but the failure would also be caught by a later test?
  • for some other reason?

@qkoziol
Copy link
Contributor Author

qkoziol commented Dec 2, 2013

That call to H5Gget_objinfo() retrieved the information for the dataset that the dimscale is attached to, but never used the information (in statbuf), so I eliminated the dead code (call to H5Gget_objinfo).

@WardF WardF merged commit 4a894dc into Unidata:master Dec 3, 2013
@qkoziol qkoziol deleted the ncf-177 branch December 28, 2013 19:43
edhartnett added a commit to NetCDF-World-Domination-Council/netcdf-c that referenced this pull request Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants