[brlcad-commits] SF.net SVN: brlcad:[49969] brlcad/trunk/src/other/step/src
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <n_...@us...> - 2012-04-10 22:02:36
|
Revision: 49969 http://brlcad.svn.sourceforge.net/brlcad/?rev=49969&view=rev Author: n_reed Date: 2012-04-10 22:02:29 +0000 (Tue, 10 Apr 2012) Log Message: ----------- variable initializations informed by SCL git cc155a8 and b9156ad Modified Paths: -------------- brlcad/trunk/src/other/step/src/clstepcore/complexlist.cc brlcad/trunk/src/other/step/src/fedex_plus/classes.c Modified: brlcad/trunk/src/other/step/src/clstepcore/complexlist.cc =================================================================== --- brlcad/trunk/src/other/step/src/clstepcore/complexlist.cc 2012-04-10 21:09:51 UTC (rev 49968) +++ brlcad/trunk/src/other/step/src/clstepcore/complexlist.cc 2012-04-10 22:02:29 UTC (rev 49969) @@ -101,7 +101,7 @@ EntList * child; char * nm; EntNode * prev = list, *prev2 = NULL, *newnode; - int comp; + int comp = 0; if( ent->multiple() ) { child = ( ( MultList * )ent )->childList; Modified: brlcad/trunk/src/other/step/src/fedex_plus/classes.c =================================================================== --- brlcad/trunk/src/other/step/src/fedex_plus/classes.c 2012-04-10 21:09:51 UTC (rev 49968) +++ brlcad/trunk/src/other/step/src/fedex_plus/classes.c 2012-04-10 22:02:29 UTC (rev 49969) @@ -1930,7 +1930,7 @@ /* the type_count variable is there for debugging purposes */ const char * ctype = TYPEget_ctype( t ); - Type base; + Type base = 0; int count = type_count++; char typename_buf[MAX_LEN]; @@ -2330,7 +2330,7 @@ ENTITYprint_new( Entity entity, FILES * files, Schema schema, int externMap ) { const char * n; Linked_List wheres; - char * whereRule, *whereRule_formatted; + char * whereRule, *whereRule_formatted = NULL; int whereRule_formatted_size = 0; char * ptr, *ptr2; char * uniqRule, *uniqRule_formatted; @@ -3346,7 +3346,7 @@ void TYPEprint_new( const Type type, FILE * create, Schema schema ) { Linked_List wheres; - char * whereRule, *whereRule_formatted; + char * whereRule, *whereRule_formatted = NULL; int whereRule_formatted_size = 0; char * ptr, *ptr2; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |