Skip to content

Commit a18605f

Browse files
authored
Merge pull request #3185 from DennisHeimbigner/dimidsearch.dmh
Fix bug in ncdump when printing dimension FQN
2 parents 0414463 + c8ebdd2 commit a18605f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This file contains a high-level description of this package's evolution. Release
77

88
## 4.10.0 - TBD
99

10+
* Fix bug in ncdump when printing FQNs ([Issue 3184](https://github.com/Unidata/netcdf-c/issues/3184)). See [Github ????](https://github.com/Unidata/netcdf-c/issues/????) for more information.
1011
* Update `macOS` github runners from macos-13 to macos-14, due to deprecation.
1112
* Fix an error compiling netCDF with AWS-S3-SDK support using cmake. See [Github 3155](https://github.com/Unidata/netcdf-c/issues/3155) for more information.
1213
* Add new environmental logging variable for `netCDF4` related logging subsystem, `NC4LOGGING`. If `libnetcdf` is compiled with logging enabled, logs can be enabled at runtime by setting this environmental variable to the desired log level.

ncdump/ncdump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,8 +2543,8 @@ searchgroupdim(int grp, int dimid)
25432543
for(i = 0; i < nids; i++) {
25442544
if(ids[i] == dimid) goto done;
25452545
}
2546-
} else
2547-
ret = NC_EBADDIM;
2546+
}
2547+
ret = NC_EBADDIM; /* Either nids == 0 or no match */
25482548

25492549
done:
25502550
nullfree(ids);

0 commit comments

Comments
 (0)