[PATCH] Silence bogus gcc 4.x warnings
diff --git a/fio-io.c b/fio-io.c
index 46cd11a..3f55a19 100644
--- a/fio-io.c
+++ b/fio-io.c
@@ -461,7 +461,7 @@
#ifdef FIO_HAVE_SGIO
struct sgio_cmd {
- char cdb[10];
+ unsigned char cdb[10];
int nr;
};
@@ -497,7 +497,7 @@
struct sgio_data *sd = td->io_data;
struct pollfd pfd = { .fd = td->fd, .events = POLLIN };
void *buf = malloc(max * sizeof(struct sg_io_hdr));
- int left = max, ret, events, i, r = 0, fl;
+ int left = max, ret, events, i, r = 0, fl = 0;
/*
* don't block for !events