Skip to content

Commit ead3be0

Browse files
committed
Merge branch 'semantic-versioning-update' of https://github.com/lrknox/hdf5 into semantic-versioning-update
2 parents bfdb894 + ca59012 commit ead3be0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/H5.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ bool H5_PKG_INIT_VAR = false;
7373
/*****************************/
7474

7575
/* Library known incompatible minor versions; develop releases are incompatible
76-
* by design. 999 is entered for testing an exception as a minor version that
76+
* by design. 999 is entered for testing an exception as a minor version that
7777
* will never occur. Any released minor version found to be truly incompatible
7878
* (this should never happen) should be added to the list with 999. 999 alone
7979
* in the list indicates that there are no incompatible minor versions. */
80-
static const unsigned VERS_MINOR_EXCEPTIONS[] = {999};
80+
static const unsigned VERS_MINOR_EXCEPTIONS[] = {999};
8181
/* The size should be set to the number of minor version exceptions in the list. */
8282
static const unsigned VERS_MINOR_EXCEPTIONS_SIZE = 1;
8383

@@ -855,9 +855,9 @@ H5_check_version(unsigned majnum, unsigned minnum, unsigned relnum)
855855
static bool checked = false; /* If we've already checked the version info */
856856
static unsigned int disable_version_check = 0; /* Set if the version check should be disabled */
857857
static const char *version_mismatch_warning = VERSION_MISMATCH_WARNING;
858-
static const char *minor_version_mismatch_warning = MINOR_VERSION_MISMATCH_WARNING;
858+
static const char *minor_version_mismatch_warning = MINOR_VERSION_MISMATCH_WARNING;
859859
static const char *minor_version_forward_compatible_warning = MINOR_VERSION_FORWARD_COMPATIBLE_WARNING;
860-
herr_t ret_value = SUCCEED; /* Return value */
860+
herr_t ret_value = SUCCEED; /* Return value */
861861

862862
FUNC_ENTER_NOAPI_NOINIT_NOERR
863863

@@ -953,7 +953,7 @@ H5_check_version(unsigned majnum, unsigned minnum, unsigned relnum)
953953

954954
} /* end for */
955955

956-
/* Check for forward compatibilty usage. */
956+
/* Check for forward compatibility usage. */
957957
if (H5_VERS_MINOR > minnum) {
958958
switch (disable_version_check) {
959959
case 0:
@@ -984,7 +984,6 @@ H5_check_version(unsigned majnum, unsigned minnum, unsigned relnum)
984984
/* 2 or higher: continue silently */
985985
break;
986986
} /* end switch */
987-
988987
}
989988

990989
} /* end if (H5_VERS_MINOR != minnum) */

0 commit comments

Comments
 (0)