Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv795
Modified Files:
Tag: Nov2009
tjc_main.c
Log Message:
Removed useless NULL check: the variable has already been dereferenced
at this point.
Found by Coverity.
Index: tjc_main.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/tjc/tjc_main.c,v
retrieving revision 1.21.2.1
retrieving revision 1.21.2.2
diff -u -d -r1.21.2.1 -r1.21.2.2
--- tjc_main.c 11 Nov 2009 15:07:22 -0000 1.21.2.1
+++ tjc_main.c 7 Dec 2009 11:44:59 -0000 1.21.2.2
@@ -246,7 +246,7 @@
if (DEBUG) stream_printf(GDKout,"#!tjc error <%s>\n",errBUFF);
return NULL;
}
- if (!status && ptree) {
+ if (!status) {
root = &ptree->node[ptree->length - 1];
if (DEBUG) stream_printf(GDKout,"#!tjc start normalize\n");
normalize(ptree);
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins