summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-01-18 15:04:16 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-18 15:04:16 +0100
commit9d3358012a48fa4b617ee78de8b2fcf01ee8d5d5 (patch)
treef22c4d8c732c2f82569a199652470862444107f0
parentab9c067095c890aa988f6e9d131c49e49cf62ea5 (diff)
downloadconnman-9d3358012a48fa4b617ee78de8b2fcf01ee8d5d5.tar.gz
connman-9d3358012a48fa4b617ee78de8b2fcf01ee8d5d5.tar.bz2
connman-9d3358012a48fa4b617ee78de8b2fcf01ee8d5d5.zip
Remove pointless variable initialization
-rw-r--r--src/rfkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill.c b/src/rfkill.c
index ba6da452..523c7e79 100644
--- a/src/rfkill.c
+++ b/src/rfkill.c
@@ -76,11 +76,11 @@ static enum connman_service_type convert_type(uint8_t type)
static GIOStatus rfkill_process(GIOChannel *chan)
{
- GIOStatus status = G_IO_STATUS_NORMAL;
unsigned char buf[32];
struct rfkill_event *event = (void *) buf;
enum connman_service_type type;
gsize len;
+ GIOStatus status;
DBG("");