diff options
| author | Paul Eggert | 2011-03-15 16:07:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-15 16:07:15 -0700 |
| commit | b9b84fa9b19f892520aa9fe3479d3da03a9b0da6 (patch) | |
| tree | 0f90d2f602ceefc68ab493b71c58fbe4799689e2 /src | |
| parent | 112396d6542186a88963e08828cd66f6d7fe9543 (diff) | |
| download | emacs-b9b84fa9b19f892520aa9fe3479d3da03a9b0da6.tar.gz emacs-b9b84fa9b19f892520aa9fe3479d3da03a9b0da6.zip | |
* data.c (store_symval_forwarding): Rename local to avoid shadowing.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/data.c | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 37e2183ef70..261805a8484 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | * data.c (Findirect_variable): Name an expression, to avoid | 3 | * data.c (Findirect_variable): Name an expression, to avoid |
| 4 | gcc -Wbad-function-cast warning. | 4 | gcc -Wbad-function-cast warning. |
| 5 | (default_value, arithcompare, arith_driver, arith_error): Now static. | 5 | (default_value, arithcompare, arith_driver, arith_error): Now static. |
| 6 | (store_symval_forwarding): Rename local to avoid shadowing. | ||
| 6 | 7 | ||
| 7 | * alloc.c (check_cons_list): Do not define unless GC_CHECK_CONS_LIST. | 8 | * alloc.c (check_cons_list): Do not define unless GC_CHECK_CONS_LIST. |
| 8 | (Fmake_vector, Fvector, Fmake_byte_code, Fgarbage_collect): | 9 | (Fmake_vector, Fvector, Fmake_byte_code, Fgarbage_collect): |
diff --git a/src/data.c b/src/data.c index 81c16fff489..50a6ac219c4 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -910,12 +910,12 @@ store_symval_forwarding (union Lisp_Fwd *valcontents, register Lisp_Object newva | |||
| 910 | 910 | ||
| 911 | for (tail = Vbuffer_alist; CONSP (tail); tail = XCDR (tail)) | 911 | for (tail = Vbuffer_alist; CONSP (tail); tail = XCDR (tail)) |
| 912 | { | 912 | { |
| 913 | Lisp_Object buf; | 913 | Lisp_Object lbuf; |
| 914 | struct buffer *b; | 914 | struct buffer *b; |
| 915 | 915 | ||
| 916 | buf = Fcdr (XCAR (tail)); | 916 | lbuf = Fcdr (XCAR (tail)); |
| 917 | if (!BUFFERP (buf)) continue; | 917 | if (!BUFFERP (lbuf)) continue; |
| 918 | b = XBUFFER (buf); | 918 | b = XBUFFER (lbuf); |
| 919 | 919 | ||
| 920 | if (! PER_BUFFER_VALUE_P (b, idx)) | 920 | if (! PER_BUFFER_VALUE_P (b, idx)) |
| 921 | PER_BUFFER_VALUE (b, offset) = newval; | 921 | PER_BUFFER_VALUE (b, offset) = newval; |