diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-13 23:05:49 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-13 23:05:49 (GMT) |
commit | 1b103bc875b2e53eab818053cf1baec140a419c7 (patch) | |
tree | e4befb17c345cf775d181eda3f5e9b51d1f159ef | |
parent | ae06433ab0ca13838c2762c8fad165a041d64c42 (diff) | |
download | hdf5-1b103bc875b2e53eab818053cf1baec140a419c7.zip hdf5-1b103bc875b2e53eab818053cf1baec140a419c7.tar.gz hdf5-1b103bc875b2e53eab818053cf1baec140a419c7.tar.bz2 |
[svn-r18799] Description:
Added note about use of volatile for variables.
Tested on:
None - trivial change to comment.
-rw-r--r-- | src/H5detect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5detect.c b/src/H5detect.c index 4490fb5..1eaaac0 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -279,6 +279,9 @@ precision (detected_t *d) * absence of implicit mantissa bit, and exponent bias and * initializes a detected_t structure with those properties. * + * Note: 'volatile' is used for the variables below to prevent the + * compiler from optimizing them away. + * * Return: void * * Programmer: Robb Matzke |