mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
removing this dead code_init call
This commit is contained in:
parent
c5225b2fa1
commit
4d0a5af475
2 changed files with 1 additions and 2 deletions
1
gmqcc.h
1
gmqcc.h
|
@ -734,6 +734,7 @@ typedef struct {
|
|||
* code_pop_statement -- keeps statements and linenumbers together
|
||||
*/
|
||||
bool code_write (code_t *, const char *filename, const char *lno);
|
||||
GMQCC_WARN
|
||||
code_t *code_init (void);
|
||||
void code_cleanup (code_t *);
|
||||
uint32_t code_genstring (code_t *, const char *string);
|
||||
|
|
2
ir.c
2
ir.c
|
@ -3570,8 +3570,6 @@ bool ir_builder_generate(code_t *code, ir_builder *self, const char *filename)
|
|||
size_t i;
|
||||
char *lnofile = NULL;
|
||||
|
||||
code_init();
|
||||
|
||||
for (i = 0; i < vec_size(self->fields); ++i)
|
||||
{
|
||||
ir_builder_prepare_field(code, self->fields[i]);
|
||||
|
|
Loading…
Reference in a new issue