trivial: resolve maybe-uninitialized warnings
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:

committed by
Dan Williams

parent
a038ff172b
commit
dcb627a61f
@@ -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;
|
||||||
|
Reference in New Issue
Block a user