From: Eli Zaretskii Date: Fri, 26 Nov 2004 11:47:20 +0000 (+0000) Subject: (Fdefvar): Declare pdl from last change as `volatile' to prevent X-Git-Tag: ttn-vms-21-2-B4~3656 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b28d0d9a8fa333596e071c92598bfff318b3026b;p=emacs.git (Fdefvar): Declare pdl from last change as `volatile' to prevent compiler warnings. --- diff --git a/src/eval.c b/src/eval.c index e8a8e4668e4..15b292d7d7e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -789,7 +789,7 @@ usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */) else { /* Check if there is really a global binding rather than just a let binding that shadows the global unboundness of the var. */ - struct specbinding *pdl = specpdl_ptr; + volatile struct specbinding *pdl = specpdl_ptr; while (--pdl >= specpdl) { if (EQ (pdl->symbol, sym) && !pdl->func