aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-21 20:54:57 +0000
committerGerd Moellmann2000-09-21 20:54:57 +0000
commit6bbd7a29592594e23e5cb98467e608f10b00f877 (patch)
tree1e60389bc0f5c349fc0a39b2609b1a60b084e133 /src/data.c
parent8179cccd88a3f114b0e4891c033ecd302dfb094e (diff)
downloademacs-6bbd7a29592594e23e5cb98467e608f10b00f877.tar.gz
emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.zip
Avoid some more compiler warnings.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c
index 0e393bf450d..c85e5485d69 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1751,6 +1751,8 @@ or a byte-code object. IDX starts at 0.")
1751 { 1751 {
1752 Lisp_Object val; 1752 Lisp_Object val;
1753 1753
1754 val = Qnil;
1755
1754 if (idxval < 0) 1756 if (idxval < 0)
1755 args_out_of_range (array, idx); 1757 args_out_of_range (array, idx);
1756 if (idxval < CHAR_TABLE_ORDINARY_SLOTS) 1758 if (idxval < CHAR_TABLE_ORDINARY_SLOTS)
@@ -1821,7 +1823,7 @@ or a byte-code object. IDX starts at 0.")
1821 } 1823 }
1822 else 1824 else
1823 { 1825 {
1824 int size; 1826 int size = 0;
1825 if (VECTORP (array)) 1827 if (VECTORP (array))
1826 size = XVECTOR (array)->size; 1828 size = XVECTOR (array)->size;
1827 else if (COMPILEDP (array)) 1829 else if (COMPILEDP (array))
@@ -2010,7 +2012,7 @@ arithcompare (num1, num2, comparison)
2010 Lisp_Object num1, num2; 2012 Lisp_Object num1, num2;
2011 enum comparison comparison; 2013 enum comparison comparison;
2012{ 2014{
2013 double f1, f2; 2015 double f1 = 0, f2 = 0;
2014 int floatp = 0; 2016 int floatp = 0;
2015 2017
2016 CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (num1, 0); 2018 CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (num1, 0);