Revision: 42094
http://brlcad.svn.sourceforge.net/brlcad/?rev=42094&view=rev
Author: brlcad
Date: 2011-01-11 22:11:49 +0000 (Tue, 11 Jan 2011)
Log Message:
-----------
remove unused dlen param, mark other unused params.
Modified Paths:
--------------
brlcad/trunk/src/adrt/load.h
brlcad/trunk/src/adrt/load_g.c
Modified: brlcad/trunk/src/adrt/load.h
===================================================================
--- brlcad/trunk/src/adrt/load.h 2011-01-11 22:11:08 UTC (rev 42093)
+++ brlcad/trunk/src/adrt/load.h 2011-01-11 22:11:49 UTC (rev 42094)
@@ -27,7 +27,7 @@
#include "adrt.h"
#include "adrt_struct.h"
-int slave_load(struct tie_s *tie, void *, uint32_t dlen);
+int slave_load(struct tie_s *tie, void *);
extern uint32_t slave_load_mesh_num;
extern adrt_mesh_t *slave_load_mesh_list;
Modified: brlcad/trunk/src/adrt/load_g.c
===================================================================
--- brlcad/trunk/src/adrt/load_g.c 2011-01-11 22:11:08 UTC (rev 42093)
+++ brlcad/trunk/src/adrt/load_g.c 2011-01-11 22:11:49 UTC (rev 42094)
@@ -64,7 +64,7 @@
void (*func)(struct nmgregion *, const struct db_full_path *, int, int,
float [3]);
struct adrt_mesh_s **meshes;
};
-static struct gcv_data gcvwriter = {nmg_to_adrt_gcvwrite};
+static struct gcv_data gcvwriter = {nmg_to_adrt_gcvwrite, NULL};
/* load the region into the tie image */
@@ -142,7 +142,7 @@
}
int
-nmg_to_adrt_regstart(struct db_tree_state *ts, const struct db_full_path
*path, const struct rt_comb_internal *rci, genptr_t client_data)
+nmg_to_adrt_regstart(struct db_tree_state *ts, const struct db_full_path
*path, const struct rt_comb_internal *rci, genptr_t UNUSED(client_data))
{
/*
* if it's a simple single bot region, just eat the bots and return -1.
@@ -150,7 +150,6 @@
*/
struct directory *dir;
struct rt_db_internal intern;
- struct rt_bot_internal *bot;
struct adrt_mesh_s *mesh;
unsigned char rgb[3] = { 0xc0, 0xc0, 0xc0 };
@@ -191,8 +190,8 @@
nmg_to_adrt_internal(mesh, (struct nmgregion *)intern.idb_ptr);
return -1;
} else if (intern.idb_minor_type == ID_BOT) {
+ size_t i;
struct rt_bot_internal *bot = intern.idb_ptr;
- int i;
RT_BOT_CK_MAGIC(bot);
@@ -213,10 +212,9 @@
static void
-nmg_to_adrt_gcvwrite(struct nmgregion *r, const struct db_full_path *pathp,
int region_id, int material_id, float color[3])
+nmg_to_adrt_gcvwrite(struct nmgregion *r, const struct db_full_path *pathp,
int UNUSED(region_id), int material_id, float color[3])
{
struct model *m;
- struct shell *s;
struct adrt_mesh_s *mesh;
NMG_CK_REGION(r);
@@ -247,12 +245,9 @@
int
load_g (struct tie_s *tie, const char *db, int argc, const char **argv, struct
adrt_mesh_s **meshes)
{
- int c;
- double percent;
struct model *the_model;
struct rt_tess_tol ttol; /* tesselation tolerance in mm */
struct db_tree_state tree_state; /* includes tol & model */
- TIE_3 max;
cur_tie = tie; /* blehhh, global... need locking. */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits