summaryrefslogtreecommitdiffstats
path: root/src/H5checksum.c
diff options
context:
space:
mode:
authorGerd Heber <gheber@hdfgroup.org>2020-11-18 15:06:01 (GMT)
committerGitHub <noreply@github.com>2020-11-18 15:06:01 (GMT)
commit0a06b9a8690f6c968c036142fd1b1a83cbcd7617 (patch)
tree73e4b095ef9b1ea5f3ec9ad1a450bc193f8c75f8 /src/H5checksum.c
parenta50d211755cb272b2e468144e7d892a4c90813c4 (diff)
downloadhdf5-0a06b9a8690f6c968c036142fd1b1a83cbcd7617.zip
hdf5-0a06b9a8690f6c968c036142fd1b1a83cbcd7617.tar.gz
hdf5-0a06b9a8690f6c968c036142fd1b1a83cbcd7617.tar.bz2
First cut of the H5 public API documentation. (#80)
* First cut of the H5 public API documentation. * Added H5Z "bonus track." * Applied Quincey's patch. * Added the missing patches from Quincey's original patch. * H5PL (complete) and basic H5VL API documentation. * Added H5I API docs. * Added H5L API docs. * First installment from Elena's H5T batch. * Second installment of Elena's H5T batch. * Final installment of Elena's H5T batch.
Diffstat (limited to 'src/H5checksum.c')
-rw-r--r--src/H5checksum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5checksum.c b/src/H5checksum.c
index bc36bb9..82964d9 100644
--- a/src/H5checksum.c
+++ b/src/H5checksum.c
@@ -25,6 +25,7 @@
/****************/
/* Module Setup */
/****************/
+#include "H5module.h" /* This source code file is part of the H5 module */
/***********/
/* Headers */
@@ -379,7 +380,7 @@ uint32_t
H5_checksum_lookup3(const void *key, size_t length, uint32_t initval)
{
const uint8_t *k = (const uint8_t *)key;
- uint32_t a, b, c; /* internal state */
+ uint32_t a, b, c = 0; /* internal state */
FUNC_ENTER_NOAPI_NOINIT_NOERR