bluez/bluez-5.4-compilerwarning.diff

25 lines
715 B
Diff
Raw Normal View History

diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c
index 4b1def3..4b809d9 100644
--- a/obexd/client/transfer.c
+++ b/obexd/client/transfer.c
@@ -274,6 +274,7 @@ static const char *status2str(uint8_t status)
case TRANSFER_STATUS_ERROR:
return "error";
}
+ return "unknown";
}
static gboolean get_status(const GDBusPropertyTable *property,
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index c0887ca..6571892 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
@@ -331,6 +331,7 @@ static const char *status2str(uint8_t status)
case TRANSFER_STATUS_ERROR:
return "error";
}
+ return "unknown";
}
static gboolean transfer_get_status(const GDBusPropertyTable *property,