Revision: 76110
http://sourceforge.net/p/brlcad/code/76110
Author: starseeker
Date: 2020-06-11 17:15:11 +0000 (Thu, 11 Jun 2020)
Log Message:
-----------
As far as I can tell the title isn't actually used
Modified Paths:
--------------
brlcad/branches/bioh/src/burst2/burst.cpp
brlcad/branches/bioh/src/burst2/burst.h
brlcad/branches/bioh/src/burst2/execute.cpp
Modified: brlcad/branches/bioh/src/burst2/burst.cpp
===================================================================
--- brlcad/branches/bioh/src/burst2/burst.cpp 2020-06-11 17:11:03 UTC (rev
76109)
+++ brlcad/branches/bioh/src/burst2/burst.cpp 2020-06-11 17:15:11 UTC (rev
76110)
@@ -132,7 +132,6 @@
memset(s->scriptfile, 0, LNBUFSZ);
bu_vls_init(&s->shotfile);
bu_vls_init(&s->shotlnfile);
- memset(s->title, 0, TITLE_LEN);
memset(s->timer, 0, TIMER_LEN);
bu_vls_init(&s->cmdhist);
s->cmdptr = NULL;
Modified: brlcad/branches/bioh/src/burst2/burst.h
===================================================================
--- brlcad/branches/bioh/src/burst2/burst.h 2020-06-11 17:11:03 UTC (rev
76109)
+++ brlcad/branches/bioh/src/burst2/burst.h 2020-06-11 17:15:11 UTC (rev
76110)
@@ -129,7 +129,6 @@
char scriptfile[LNBUFSZ]; /* shell script file name */
struct bu_vls shotfile; /* input file of firing coordinates */
struct bu_vls shotlnfile; /* shotline output file name */
- char title[TITLE_LEN]; /* title of MGED target description */
char timer[TIMER_LEN]; /* CPU usage statistics */
char tmpfname[TIMER_LEN]; /* temporary file for logging input */
char *cmdptr; /* */
Modified: brlcad/branches/bioh/src/burst2/execute.cpp
===================================================================
--- brlcad/branches/bioh/src/burst2/execute.cpp 2020-06-11 17:11:03 UTC (rev
76109)
+++ brlcad/branches/bioh/src/burst2/execute.cpp 2020-06-11 17:15:11 UTC (rev
76110)
@@ -61,7 +61,8 @@
bu_log("Reading target data base");
rt_prep_timer();
if (s->rtip == RTI_NULL) {
- s->rtip = rt_dirbuild(bu_vls_cstr(&s->gedfile), s->title, TITLE_LEN);
+ char db_title[TITLE_LEN+1];
+ s->rtip = rt_dirbuild(bu_vls_cstr(&s->gedfile), db_title, TITLE_LEN);
}
if (s->rtip == RTI_NULL) {
bu_log("Ray tracer failed to read the target file.");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits