remove unused vars in express

This commit is contained in:
Mark Pictor
2011-07-31 23:31:08 +02:00
committed by tpaviot
parent 8937212f59
commit 2b31086c84
6 changed files with 2 additions and 9 deletions
-2
View File
@@ -269,7 +269,6 @@ EXPresolve_op_dot(Expression expr,Scope scope)
/* stuff for dealing with select_ */
int options = 0;
Variable tmp;
char dt;
struct Symbol_ *where = NULL;
@@ -464,7 +463,6 @@ EXPresolve_op_group(Expression expr,Scope scope)
/* stuff for dealing with select_ */
int options = 0;
char dt;
/* op1 is entity expression, op2 is entity */
/* could be very impossible to determine except */
+1 -3
View File
@@ -657,7 +657,6 @@ static void
connect_lists(Dictionary modeldict, Schema schema, Linked_List list)
{
Rename *r;
Schema ref_schema;
/* translate symbols to schemas */
LISTdo_links(list, l)
@@ -707,8 +706,7 @@ EXPRESSresolve(Express model)
/* comes first - DEL */
Schema schema;
DictionaryEntry de, fg; /* imaginative, eh? */
Rename *r;
DictionaryEntry de; /* imaginative, eh? */
jmp_buf env;
if (setjmp(env)) return;
+1 -1
View File
@@ -428,7 +428,7 @@ SCANprocess_string(void)
int
SCANprocess_encoded_string(void)
{
char *s, *d; /* source, destination */
char *s; /* source */
int count;
/* strip off quotes */
-1
View File
@@ -1256,7 +1256,6 @@ void
SCOPEresolve_types(Scope s)
{
Variable var;
Type type;
DictionaryEntry de;
Generic x;
-1
View File
@@ -410,7 +410,6 @@ TYPEget_size(Type type)
Class class;
int size;
Expression upper;
Linked_List list;
Error experrc;
class = OBJget_class(type);
-1
View File
@@ -204,7 +204,6 @@ VARinitialize()
extern char *
VARget_simple_name(Variable v)
{
char tmp;
Expression e = VARget_name(v);