src/hg/txGraph/txgAddEvidence/txgAddEvidence.c 1.14
1.14 2009/08/13 03:08:30 markd
fixed misuse of AllocVar macro detected by gcc 4.5
Index: src/hg/txGraph/txgAddEvidence/txgAddEvidence.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/txGraph/txgAddEvidence/txgAddEvidence.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -B -U 4 -r1.13 -r1.14
--- src/hg/txGraph/txgAddEvidence/txgAddEvidence.c 24 Feb 2007 02:26:26 -0000 1.13
+++ src/hg/txGraph/txgAddEvidence/txgAddEvidence.c 13 Aug 2009 03:08:30 -0000 1.14
@@ -244,9 +244,9 @@
int sourceIx = getSourceIx(txg, sourceType, accession);
if (sourceIx < 0)
{
sourceIx = txg->sourceCount;
- txg->sources = ExpandArray(txg->sources, sourceIx, txg->sourceCount+1);
+ ExpandArray(txg->sources, sourceIx, txg->sourceCount+1);
struct txSource *source = &txg->sources[sourceIx];
source->type = cloneString(sourceType);
source->accession = cloneString(accession);
txg->sourceCount = sourceIx + 1;