From 1b103bc875b2e53eab818053cf1baec140a419c7 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 13 May 2010 18:05:49 -0500 Subject: [svn-r18799] Description: Added note about use of volatile for variables. Tested on: None - trivial change to comment. --- src/H5detect.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v0.12