mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 13:01:42 -08:00
coverity fix Uninitialized pointer read
This commit is contained in:
parent
8617d61e64
commit
539b05a1a2
1 changed files with 2 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ void ~A(cl_object cblock)
|
|||
* circular chain. This disables the garbage collection of
|
||||
* the library until _ALL_ functions in all modules are unlinked.
|
||||
*/
|
||||
cl_object current, next = Cblock;
|
||||
cl_object current = Cnil, next = Cblock;
|
||||
~:{
|
||||
current = ecl_make_codeblock();
|
||||
current->cblock.next = next;
|
||||
|
|
@ -313,6 +313,7 @@ extern int
|
|||
ecl_init_module(OBJNULL, ~A);
|
||||
~A
|
||||
} ECL_CATCH_ALL_END;
|
||||
return 0;
|
||||
}
|
||||
")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue