summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2014-05-28 16:46:19 +0200
committerDan Williams <dcbw@redhat.com>2014-06-04 14:11:16 -0500
commitdcb627a61f33076169ef01374e9f2bb05327eb29 (patch)
tree8a7999d216b324668d05e3a2d87b1aac9db14541
parenta038ff172b086181ba656a42529992e248ce940c (diff)
trivial: resolve maybe-uninitialized warnings
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
-rw-r--r--src/mm-port-serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-serial.c b/src/mm-port-serial.c
index 64eb13d5..9b749004 100644
--- a/src/mm-port-serial.c
+++ b/src/mm-port-serial.c
@@ -879,7 +879,7 @@ common_input_available (MMPortSerial *self,
{
char buf[SERIAL_BUF_SIZE + 1];
gsize bytes_read;
- GIOStatus status;
+ GIOStatus status = G_IO_STATUS_NORMAL;
CommandContext *ctx;
const char *device;
GError *error = NULL;