Commit Graph

14 Commits

Author SHA1 Message Date
David Young
2360f6e644 testpar/t_2Gio.c: Fix a typo that I think was introduced by a
previous warnings PR.  An array element was assigned to
        itself---shape[2]Â =Â shape[2];---instead of being assigned to
        chunk[2].

fortran/src/H5Pf.c: move conditional compilation controlled by
        H5_NO_DEPRECATED_SYMBOLS outside of a function for readability.

fortran/src/H5match_types.c: put a variable's declaration under the same
        conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its
        use.

For now, skip compilation of some unused debug dump routines in the JNI.
While I'm in the JNI, delete a set-but-unused variable.

src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS
        so that it's not declared but unused or vice versa.

test/cache_common.h: add an #include in to get some symbols we need to
        avoid implicit declaration warnings.

test/dsets.c: use a more conventional conditional-compilation syntax.

test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized
        variables before use.

test/vfd.c: pass the expected type of `void **` to posix_memalign(3)
        instead of `int **`.

testpar/t_bigio.c: explicitly compare with 0 instead of using ! when
        "equal to 0?" is the question not "is false?"  Repair some
        indentation while I'm here.

testpar/testpar.h: repair misaligned line-continuation backslashes in a
        macro that probably should be a function so that we don't have
        to fiddle with the line continuation to begin with.

tools/src/h5repack/h5repack_main.c: fix some compiler fussing about
        enums.

tools/test/perform/pio_engine.c: the compiler fusses if you cast a
        function call returning double directly to off_t.  It's ok if
        you cast a variable that's a double to off_t, however.  Write
        and use a new function, sqrto(), to avoid the cast warnings.
2020-05-20 09:31:53 -05:00
kmu
76c0e0aa4c rename macro 2020-05-20 09:31:53 -05:00
kmu
c3549ae3f9 pick up from Dave's fix 2020-05-20 09:31:53 -05:00
kmu
d63080b19a leave Wswitch-default for later fix 2020-05-20 09:31:53 -05:00
kmu
51f9a51c25 fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow 2020-05-20 09:31:53 -05:00
kmu
30e61cf090 squash cast warning fix 2020-05-20 09:31:52 -05:00
kmu
a6e8f34b7b remove unsed var,function,macro, etc 2020-05-20 09:31:51 -05:00
David Young
c8f533cfc3 Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,
including the merge of `hdffv/hdf5/develop`, back to the branch that Vailin and
I share.

Now I need to put this branch on a fork with a less confusing name than
vchoi_fork!
2019-12-09 10:30:58 -06:00
Richard Warren
1a3beaadce Unify the test (t_bigio.c) between hdf5_1_10 and develop 2018-03-12 16:17:10 -04:00
Richard Warren
22baab211d Add commentary around calling H5Screate_simple with a single element 2017-08-28 20:05:52 -04:00
Richard Warren
f84af6ecc6 Fix the t_bigio test so that it runs on 32bit machines 2017-08-15 09:17:04 -04:00
Richard Warren
32b0d6ca9f Fix up the ExpressMode check for skipping slow running tests. 2017-07-10 18:20:39 -04:00
Richard Warren
0c4c562cc5 Include code fixes and additional modifications pointed out by code reviewers 2017-07-10 16:17:26 -04:00
Richard Warren
47a4cd816c Commit changes needed for pull request 2017-07-05 15:53:19 -04:00