aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/misc.h')
-rw-r--r--mps/code/misc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mps/code/misc.h b/mps/code/misc.h
index c8b4d579a14..d8ecff44f36 100644
--- a/mps/code/misc.h
+++ b/mps/code/misc.h
@@ -115,7 +115,7 @@ typedef const struct SrcIdStruct {
115 * is syntactically a statement (to avoid it being used in computation). 115 * is syntactically a statement (to avoid it being used in computation).
116 * 116 *
117 * .discard: DISCARD uses sizeof so that the expression is not evaluated 117 * .discard: DISCARD uses sizeof so that the expression is not evaluated
118 * and yet the compiler will check that it is a valid expression. The 118 * and yet the compiler will check that it is a valid expression. The
119 * conditional is compared with zero so it can designate a bitfield object. 119 * conditional is compared with zero so it can designate a bitfield object.
120 */ 120 */
121 121
@@ -140,12 +140,12 @@ typedef const struct SrcIdStruct {
140/* UNUSED -- declare parameter unused 140/* UNUSED -- declare parameter unused
141 * 141 *
142 * This macro supresses warnings about unused parameters. It should be 142 * This macro supresses warnings about unused parameters. It should be
143 * applied to the parameter at the beginning of the body of the 143 * applied to the parameter at the beginning of the body of the
144 * procedure. 144 * procedure.
145 * 145 *
146 * The cast to void appears to work for GCC, MSVC, and CodeWarrior. 146 * The cast to void appears to work for GCC, MSVC, and CodeWarrior.
147 * It's a shame there's no way to ensure that the parameter won't be 147 * It's a shame there's no way to ensure that the parameter won't be
148 * used. We could scramble it, but that's undesirable in release 148 * used. We could scramble it, but that's undesirable in release
149 * versions. 149 * versions.
150 */ 150 */
151 151