diff options
| author | Eli Zaretskii | 2004-11-26 11:47:20 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-11-26 11:47:20 +0000 |
| commit | b28d0d9a8fa333596e071c92598bfff318b3026b (patch) | |
| tree | 4343f6b8805efb7614f33bce6e6558fc3b90d1b8 /src | |
| parent | 2c2128598855c7263a9abec501e1977b373f0134 (diff) | |
| download | emacs-b28d0d9a8fa333596e071c92598bfff318b3026b.tar.gz emacs-b28d0d9a8fa333596e071c92598bfff318b3026b.zip | |
(Fdefvar): Declare pdl from last change as `volatile' to prevent
compiler warnings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) */) | |||
| 789 | else | 789 | else |
| 790 | { /* Check if there is really a global binding rather than just a let | 790 | { /* Check if there is really a global binding rather than just a let |
| 791 | binding that shadows the global unboundness of the var. */ | 791 | binding that shadows the global unboundness of the var. */ |
| 792 | struct specbinding *pdl = specpdl_ptr; | 792 | volatile struct specbinding *pdl = specpdl_ptr; |
| 793 | while (--pdl >= specpdl) | 793 | while (--pdl >= specpdl) |
| 794 | { | 794 | { |
| 795 | if (EQ (pdl->symbol, sym) && !pdl->func | 795 | if (EQ (pdl->symbol, sym) && !pdl->func |