浏览代码

more debugger refactoring

Nicolas Cannasse 8 年之前
父节点
当前提交
f0a09fccef
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/debugger.c

+ 1 - 3
src/debugger.c

@@ -53,7 +53,7 @@ static void hl_debug_loop( hl_module *m ) {
 #	endif
 	if( sizeof(bool) == 4 ) flags |= 2;
 	while( true ) {
-		int i, sz;
+		int i;
 		vbyte cmd;
 		hl_socket *s = hl_socket_accept(debug_socket);
 		client_socket = s;
@@ -65,8 +65,6 @@ static void hl_debug_loop( hl_module *m ) {
 		send(&m->jit_code,sizeof(void*));
 		send(&m->codesize,4);
 		send(&m->code->types,sizeof(void*));
-		sz = sizeof(hl_type);
-		send(&sz, 4);
 		send(&m->code->nfunctions,4);
 
 		for(i=0;i<m->code->nfunctions;i++) {