Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23001/modules/pftijah/tjc
Modified Files:
tjc_main.c
Log Message:
propagated changes of Monday Dec 07 2009 - Wednesday Dec 09 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/07 - sjoerd: modules/pftijah/tjc/tjc_main.c,1.21.2.2
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.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- tjc_main.c 13 Oct 2009 11:46:26 -0000 1.22
+++ tjc_main.c 9 Dec 2009 12:47:39 -0000 1.23
@@ -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);
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins