src/hg/gigAssembler/checkNt/checkNt.c 1.6

1.6 2009/07/07 18:44:54 hiram
Fixup broken build on Solaris
Index: src/hg/gigAssembler/checkNt/checkNt.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/gigAssembler/checkNt/checkNt.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 4 -r1.5 -r1.6
--- src/hg/gigAssembler/checkNt/checkNt.c	21 Jul 2004 23:44:13 -0000	1.5
+++ src/hg/gigAssembler/checkNt/checkNt.c	7 Jul 2009 18:44:54 -0000	1.6
@@ -42,9 +42,9 @@
 
 void addAgpSize(struct hash *ntHash, char *fileName)
 /* Read an agp file and store size of each NT contig. */
 {
-char *line, *row[5];
+char *row[5];
 int wordCount;
 struct lineFile *lf = lineFileOpen(fileName, TRUE);
 while ((wordCount = lineFileChop(lf, row)) > 0)
     {
@@ -87,13 +87,12 @@
 
 void addInCoor(struct hash *ntHash, char *fileName)
 /* Check if NT's are present in ctg_coords file. */
 {
-char *line, *row[8];
+char *row[8];
 int wordCount;
 struct lineFile *lf = lineFileOpen(fileName, TRUE);
 struct nt *nt;
-int end;
 while ((wordCount = lineFileChop(lf, row)) > 0)
     {
     lineFileExpectWords(lf, ArraySize(row), wordCount);
     nt = findNt(ntHash, row[0]);