Initialize the variables for multipe return values to 0 so we won't
lose if the called function does not set them due to an error.
This commit is contained in:
parent
50664556eb
commit
e18688fc14
|
@ -458,7 +458,7 @@
|
|||
(format #f (rep:c-decl i) outer-type)))
|
||||
|
||||
(define (info->var-decl i var)
|
||||
(format #f "~% ~a;" ; statement-ize decl.
|
||||
(format #f "~% ~a = 0;" ; statement-ize decl.
|
||||
(format #f (rep:c-decl i) var))) ; decl-ize var.
|
||||
|
||||
(define (make-gensym prefix i)
|
||||
|
@ -804,7 +804,7 @@
|
|||
|
||||
(define ret1-decl
|
||||
"
|
||||
s48_value ret1;")
|
||||
s48_value ret1 = S48_FALSE;")
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue