mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
some dead code cleanup
This commit is contained in:
parent
3c2c4aa9e6
commit
0c2f36f9a3
3 changed files with 0 additions and 10 deletions
|
@ -281,7 +281,6 @@ num_digits (int val)
|
|||
{
|
||||
int num = 1;
|
||||
|
||||
// printf ("%d ", val);
|
||||
if (val < 0) {
|
||||
num++;
|
||||
val = -val;
|
||||
|
@ -290,7 +289,6 @@ num_digits (int val)
|
|||
val /= 10;
|
||||
num++;
|
||||
}
|
||||
// printf ("%d\n", num);
|
||||
return num;
|
||||
}
|
||||
|
||||
|
@ -378,7 +376,6 @@ new_bind_expr (expr_t *e1, expr_t *e2)
|
|||
error (e1, "internal error");
|
||||
abort ();
|
||||
}
|
||||
// e = new_binary_expr ('b', e1, e2);
|
||||
e = new_expr ();
|
||||
e->type = ex_expr;
|
||||
e->e.expr.op = 'b';
|
||||
|
|
|
@ -98,7 +98,6 @@ typedef struct {
|
|||
%left SHL SHR
|
||||
%left '+' '-'
|
||||
%left '*' '/' '&' '|' '^' '%'
|
||||
//%left '!' '~'
|
||||
%right <op> UNARY INCOP
|
||||
%right '(' '['
|
||||
%left '.'
|
||||
|
@ -424,12 +423,10 @@ statement_block
|
|||
statements
|
||||
: /*empty*/
|
||||
{
|
||||
//printf("statements: /* empty */\n");
|
||||
$$ = new_block_expr ();
|
||||
}
|
||||
| statements statement
|
||||
{
|
||||
//printf("statements: statements statement\n");
|
||||
$$ = append_expr ($1, $2);
|
||||
}
|
||||
;
|
||||
|
|
|
@ -254,10 +254,6 @@ WriteData (int crc)
|
|||
dd->ofs = def->ofs;
|
||||
}
|
||||
|
||||
// PrintStrings ();
|
||||
// PrintFunctions ();
|
||||
// PrintFields ();
|
||||
// PrintGlobals ();
|
||||
strofs = (strofs + 3) & ~3;
|
||||
|
||||
if (options.verbosity >= 0) {
|
||||
|
|
Loading…
Reference in a new issue