mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-25 05:51:55 -08:00
Fix additional coverity warnings.
This commit is contained in:
parent
da47ed7f5f
commit
06f5697074
9 changed files with 28 additions and 28 deletions
|
|
@ -550,7 +550,6 @@ ecl_array_allocself(cl_object x)
|
|||
}
|
||||
#endif
|
||||
case ecl_aet_bc: {
|
||||
cl_index elt_size = 1;
|
||||
x->vector.self.bc = (ecl_base_char *)ecl_alloc_atomic(d+1);
|
||||
/* Null terminate the string */
|
||||
x->vector.self.bc[d] = 0;
|
||||
|
|
@ -752,7 +751,7 @@ cl_array_element_type(cl_object a)
|
|||
void
|
||||
ecl_displace(cl_object from, cl_object to, cl_object offset)
|
||||
{
|
||||
cl_index j;
|
||||
cl_fixnum j;
|
||||
void *base;
|
||||
cl_elttype totype, fromtype;
|
||||
fromtype = from->array.elttype;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue