aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-05 22:19:39 -0700
committerPaul Eggert2011-04-05 22:19:39 -0700
commit41cf7d1aec986e1b92ca14231ac4ec242c233d45 (patch)
tree7360e455dc2e0043a31fda1d29cc6323aa213104 /src/buffer.c
parent1e3cdd8228651f226beb6ac75453968a6c64feff (diff)
parentb69769da408705e40929b793d79d3bfe6a3a5a48 (diff)
downloademacs-41cf7d1aec986e1b92ca14231ac4ec242c233d45.tar.gz
emacs-41cf7d1aec986e1b92ca14231ac4ec242c233d45.zip
Fix more problems found by GCC 4.6.0's static checks.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index cdcd2ccecff..a0054e32d0a 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4047,7 +4047,6 @@ If there are no overlay boundaries from (point-min) to POS,
4047the value is (point-min). */) 4047the value is (point-min). */)
4048 (Lisp_Object pos) 4048 (Lisp_Object pos)
4049{ 4049{
4050 int noverlays;
4051 EMACS_INT prevpos; 4050 EMACS_INT prevpos;
4052 Lisp_Object *overlay_vec; 4051 Lisp_Object *overlay_vec;
4053 int len; 4052 int len;
@@ -4065,8 +4064,8 @@ the value is (point-min). */)
4065 /* Put all the overlays we want in a vector in overlay_vec. 4064 /* Put all the overlays we want in a vector in overlay_vec.
4066 Store the length in len. 4065 Store the length in len.
4067 prevpos gets the position of the previous change. */ 4066 prevpos gets the position of the previous change. */
4068 noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, 4067 overlays_at (XINT (pos), 1, &overlay_vec, &len,
4069 (EMACS_INT *) 0, &prevpos, 1); 4068 (EMACS_INT *) 0, &prevpos, 1);
4070 4069
4071 xfree (overlay_vec); 4070 xfree (overlay_vec);
4072 return make_number (prevpos); 4071 return make_number (prevpos);