Cleanup: removing unused variables.
This commit is contained in:
parent
7f64250e97
commit
7dcbec07a0
@ -1456,13 +1456,11 @@ void
|
|||||||
drawRegularRuns (const System sys)
|
drawRegularRuns (const System sys)
|
||||||
{
|
{
|
||||||
int run;
|
int run;
|
||||||
int rcnum;
|
|
||||||
char *colorbuf;
|
char *colorbuf;
|
||||||
|
|
||||||
// two buffers, eight chars each
|
// two buffers, eight chars each
|
||||||
colorbuf = malloc (16 * sizeof (char));
|
colorbuf = malloc (16 * sizeof (char));
|
||||||
|
|
||||||
rcnum = 0;
|
|
||||||
for (run = 0; run < sys->maxruns; run++)
|
for (run = 0; run < sys->maxruns; run++)
|
||||||
{
|
{
|
||||||
if (sys->runs[run].length > 0)
|
if (sys->runs[run].length > 0)
|
||||||
|
@ -249,9 +249,7 @@ multipleRolePrune (const System sys)
|
|||||||
{
|
{
|
||||||
Termlist agentrole;
|
Termlist agentrole;
|
||||||
int run;
|
int run;
|
||||||
int flag;
|
|
||||||
|
|
||||||
flag = false;
|
|
||||||
agentrole = NULL;
|
agentrole = NULL;
|
||||||
for (run = 0; run < sys->maxruns; run++)
|
for (run = 0; run < sys->maxruns; run++)
|
||||||
{
|
{
|
||||||
|
@ -161,11 +161,8 @@ systemRuns (const System sys)
|
|||||||
void
|
void
|
||||||
systemDone (const System sys)
|
systemDone (const System sys)
|
||||||
{
|
{
|
||||||
int s;
|
|
||||||
|
|
||||||
/* clear globals, which were defined in systemStart */
|
/* clear globals, which were defined in systemStart */
|
||||||
|
|
||||||
s = sys->maxtracelength + 1;
|
|
||||||
free (sys->traceEvent);
|
free (sys->traceEvent);
|
||||||
free (sys->traceRun);
|
free (sys->traceRun);
|
||||||
free (sys->traceKnow);
|
free (sys->traceKnow);
|
||||||
|
Loading…
Reference in New Issue
Block a user