trivial: resolve maybe-uninitialized warnings

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
Yegor Yefremov
2014-05-28 16:46:19 +02:00
committed by Dan Williams
parent a038ff172b
commit dcb627a61f

View File

@@ -879,7 +879,7 @@ common_input_available (MMPortSerial *self,
{ {
char buf[SERIAL_BUF_SIZE + 1]; char buf[SERIAL_BUF_SIZE + 1];
gsize bytes_read; gsize bytes_read;
GIOStatus status; GIOStatus status = G_IO_STATUS_NORMAL;
CommandContext *ctx; CommandContext *ctx;
const char *device; const char *device;
GError *error = NULL; GError *error = NULL;