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)
{
int run;
int rcnum;
char *colorbuf;
// two buffers, eight chars each
colorbuf = malloc (16 * sizeof (char));
rcnum = 0;
for (run = 0; run < sys->maxruns; run++)
{
if (sys->runs[run].length > 0)

View File

@ -249,9 +249,7 @@ multipleRolePrune (const System sys)
{
Termlist agentrole;
int run;
int flag;
flag = false;
agentrole = NULL;
for (run = 0; run < sys->maxruns; run++)
{

View File

@ -161,11 +161,8 @@ systemRuns (const System sys)
void
systemDone (const System sys)
{
int s;
/* clear globals, which were defined in systemStart */
s = sys->maxtracelength + 1;
free (sys->traceEvent);
free (sys->traceRun);
free (sys->traceKnow);