Since we have to compile with -Wno-unused-variables, we don't
spot unused variables in code. I found these by compiling the
code in Ubuntu.
struct mp *mps = NULL;
struct mp *mp;
char *p;
struct mp *mps = NULL;
struct mp *mp;
char *p;
int option_index;
struct sigaction sa;
int option_index;
struct sigaction sa;
char *cmd = buf;
char *args;
char *cmd = buf;
char *args;
if (buf[len] == '\0') {
/* This is mostly safe. Although the cmd_* functions do sometimes
if (buf[len] == '\0') {
/* This is mostly safe. Although the cmd_* functions do sometimes
va_list args;
char *msg;
int err;
va_list args;
char *msg;
int err;
- struct timeval tv, diff;
va_start (args, fs);
err = vasprintf (&msg, fs, args);
va_start (args, fs);
err = vasprintf (&msg, fs, args);
fd = open (filename, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY, 0666);
if (fd == -1) {
fd = open (filename, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY, 0666);
if (fd == -1) {