summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5detect.c3
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