Revision: 57034
http://sourceforge.net/p/brlcad/code/57034
Author: starseeker
Date: 2013-08-21 15:26:34 +0000 (Wed, 21 Aug 2013)
Log Message:
-----------
Clear declaration-after-statement warnings
Modified Paths:
--------------
brlcad/trunk/src/other/stepcode/src/express/entity.c
Modified: brlcad/trunk/src/other/stepcode/src/express/entity.c
===================================================================
--- brlcad/trunk/src/other/stepcode/src/express/entity.c 2013-08-21
15:00:47 UTC (rev 57033)
+++ brlcad/trunk/src/other/stepcode/src/express/entity.c 2013-08-21
15:26:34 UTC (rev 57034)
@@ -460,6 +460,7 @@
*/
int ENTITYget_attribute_offset( Entity entity, Variable attribute ) {
int offset;
+ int value;
LISTdo( entity->u.entity->attributes, attr, Variable )
if( attr == attribute ) {
@@ -467,7 +468,6 @@
}
LISTod;
offset = 0;
- int value;
LISTdo( entity->u.entity->supertypes, super, Entity )
/* if (OBJis_kind_of(super, Class_Entity)) {*/
if( ( value = ENTITYget_attribute_offset( super, attribute ) ) != -1 ) {
@@ -490,6 +490,7 @@
*/
int ENTITYget_named_attribute_offset( Entity entity, char * name ) {
int offset;
+ int value;
LISTdo( entity->u.entity->attributes, attr, Variable )
if( streq( VARget_simple_name( attr ), name ) )
@@ -497,7 +498,6 @@
VARget_offset( ENTITY_find_inherited_attribute( entity, name,
0, 0 ) );
LISTod;
offset = 0;
- int value;
LISTdo( entity->u.entity->supertypes, super, Entity )
/* if (OBJis_kind_of(super, Class_Entity)) {*/
if( ( value = ENTITYget_named_attribute_offset( super, name ) ) != -1 ) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits