Cleanup: removing unused variables.

This commit is contained in:
Cas Cremers 2014-03-18 13:53:33 +00:00
parent 7f64250e97
commit 7dcbec07a0
3 changed files with 0 additions and 7 deletions

View File

@ -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)

View File

@ -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++)
{ {

View File

@ -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);