aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-08-08 11:59:46 +0200
committerThomas White <taw@bitwiz.org.uk>2012-08-08 11:59:46 +0200
commite295e00053fff65f53e45ebb6b149d65225d04a8 (patch)
tree47e6bd3264bff5d592e281b7019c5b284a3a64bf /src/im-sandbox.c
parent7903f6c31f7a13c26d97bdf1f7791c5b5804ea84 (diff)
Fix buglets spotted by new compiler on Fedora 17
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index fdbbf3a3..c9ad5300 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -840,7 +840,6 @@ void create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
char results[1024];
char *rval;
int fd;
- int n;
char *eptr;
if ( !sb->running[i] ) {
@@ -863,7 +862,7 @@ void create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
chomp(results);
- n = strtol(results, &eptr, 10);
+ strtol(results, &eptr, 10);
if ( eptr == results ) {
if ( strlen(results) > 0 ) {
ERROR("Invalid result '%s'\n", results);