diff --git a/lib.c b/lib.c
index cad7ea927e54800137dc26f0ad724c6e2ea23fec..fe2f787206601f7365cf5265fe5c63aab61e6cc1 100644
--- a/lib.c
+++ b/lib.c
@@ -591,7 +591,7 @@ void code_mips_dump(struct symtable * t, struct code * c, FILE* fout){
                 print_printstr(t,c,fout,i);
                 break;
             case CALL_READ:
-                print_read(t,c,fout,i);
+                print_read(c,fout,i);
                 break;
             case COPY:
                 print_copy(t,c,fout,i);
@@ -1058,7 +1058,7 @@ void print_reg(char * reg,FILE * fout, enum var_type ty){
 
 // -------- READ RELATED --------
 
-void print_read(struct symtable * t,struct code * c, FILE* fout,int i)
+void print_read(struct code * c, FILE* fout,int i)
 {
     switch(c->quads[i].sym1->kind){
         case ARRAY:
diff --git a/lib.h b/lib.h
index fb93bd89c56bf6b2e443cedfc74a9744b6604bfa..e0d2c74e358653772253a38e2af66f6867eba70c 100644
--- a/lib.h
+++ b/lib.h
@@ -216,7 +216,7 @@ void print_reg(char * reg,FILE * fout, enum var_type ty);
 
 /** @brief print_read makes MIPS code to read an integer or a float and save it to a local variable
  */
-void print_read(struct symtable * t,struct code * c, FILE* fout,int i);
+void print_read(struct code * c, FILE* fout,int i);
 
 // -------- FUNCTIONS RELATED --------