]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/callstack.cpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / callstack.cpp
index 45caa0131563baeb10143d07d3b0ed721fed0b46..2d183e802805ebbc88265bcc733c3055619c69e0 100644 (file)
@@ -46,10 +46,6 @@ void factor_vm::primitive_callstack_for() {
   ctx->replace(capture_callstack(other_ctx));
 }
 
-struct stack_frame_in_array {
-  cell cells[3];
-};
-
 // Allocates memory (frames.trim()), iterate_callstack_object()
 void factor_vm::primitive_callstack_to_array() {
   data_root<callstack> callstack(ctx->peek(), this);
@@ -60,6 +56,8 @@ void factor_vm::primitive_callstack_to_array() {
                                      cell size,
                                      code_block* owner,
                                      cell addr) {
+    (void)frame_top;
+    (void)size;
     data_root<object> executing_quot(owner->owner_quot(), this);
     data_root<object> executing(owner->owner, this);
     data_root<object> scan(owner->scan(this, addr), this);