Browse Source

Comment out unused var to make gcc happy
Might be useful when adding line num+ file name support, so don't remove for now

Signed-off-by: Graham MacDonald <grahamamacdonald@gmail.com>

Graham MacDonald 4 years ago
parent
commit
a29a5fbe4f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sys/src/libmach/sym.c

+ 2 - 2
sys/src/libmach/sym.c

@@ -433,7 +433,7 @@ buildtbls(void)
 	int j, nh, ng, nt;
 	File *f;
 	Txtsym *tp;
-	Hist *hp;
+	//Hist *hp;
 	Sym *p, **ap;
 
 	//print("ntxt: %d, nglob: %d, nauto: %d, fmax: %d, nfiles: %d, nhist: %d\n", ntxt, nglob, nauto, fmax, nfiles, nhist);
@@ -481,7 +481,7 @@ buildtbls(void)
 	ng = nt = nh = 0;
 	f = 0;
 	tp = 0;
-	hp = hist;
+	//hp = hist;
 	ap = autos;
 
 	// Skip first null symbol