mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-05 04:06:35 +02:00
Issue #273 - Avoid compiler warning
This commit is contained in:
parent
7b96ff82af
commit
a3e0d51021
1 changed files with 4 additions and 2 deletions
|
@ -1001,10 +1001,12 @@
|
||||||
;;(trace:info `(loop ,args ,(cadr args) ,cgen-lis ,parent-args))
|
;;(trace:info `(loop ,args ,(cadr args) ,cgen-lis ,parent-args))
|
||||||
(c:code
|
(c:code
|
||||||
(string-append
|
(string-append
|
||||||
cgen-allocs ; (c:allocs->str (c:allocs cgen))
|
cgen-allocs
|
||||||
"\n"
|
"\n"
|
||||||
cgen-body ; TODO: (c:body cgen) ; TODO: re-assign function args, longer-term using temp variables
|
cgen-body
|
||||||
"\n"
|
"\n"
|
||||||
|
;; Avoid unused var warning from C compiler
|
||||||
|
(mangle (cadr args)) " = " (mangle (cadr args)) ";"
|
||||||
"continue;"))))
|
"continue;"))))
|
||||||
|
|
||||||
((eq? 'Cyc-foreign-code fun)
|
((eq? 'Cyc-foreign-code fun)
|
||||||
|
|
Loading…
Add table
Reference in a new issue