[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105903: Fix minor problems found by
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105903: Fix minor problems found by static checking. |
Date: |
Sat, 24 Sep 2011 09:31:55 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105903 [merge]
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2011-09-24 09:31:55 -0700
message:
Fix minor problems found by static checking.
* xdisp.c (string_from_display_spec): Don't assume vecsize fits in int.
* indent.c (Fvertical_motion): Fix == vs = typo.
modified:
src/ChangeLog
src/indent.c
src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-09-24 14:38:16 +0000
+++ b/src/ChangeLog 2011-09-24 16:31:55 +0000
@@ -1,3 +1,9 @@
+2011-09-24 Paul Eggert <address@hidden>
+
+ Fix minor problems found by static checking.
+ * xdisp.c (string_from_display_spec): Don't assume vecsize fits in int.
+ * indent.c (Fvertical_motion): Fix == vs = typo.
+
2011-09-24 Eli Zaretskii <address@hidden>
* dispnew.c (syms_of_display) <redisplay-dont-pause>: Default
=== modified file 'src/indent.c'
--- a/src/indent.c 2011-09-24 13:23:58 +0000
+++ b/src/indent.c 2011-09-24 16:15:32 +0000
@@ -2041,7 +2041,7 @@
it_overshoot_count++;
}
if (!it_overshoot_count)
- it_overshoot_count == -1;
+ it_overshoot_count = -1;
}
else
it_overshoot_count =
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2011-09-24 13:23:58 +0000
+++ b/src/xdisp.c 2011-09-24 16:28:25 +0000
@@ -1226,7 +1226,7 @@
}
else if (VECTORP (spec))
{
- int i;
+ ptrdiff_t i;
for (i = 0; i < ASIZE (spec); i++)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105903: Fix minor problems found by static checking.,
Paul Eggert <=