bluez/bluez-5.4-compilerwarning.diff
Stefan Seyfried 3ade8bfa68 Accepting request 197819 from home:dimstar:bluez5
- update to bluez-5.8
  * changelog is in the package

- update to bluez-5.4
  Huge, incompatible update. Some points:
  * hcidump merged
  * obexd merged
  * no unix socket anymore (only d-bus)
  * libbluetooth and bluez-devel is *deprecated* and will be
    removed. Only included for now to keep the breakage smaller.

OBS-URL: https://build.opensuse.org/request/show/197819
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=143
2013-09-09 09:07:05 +00:00

25 lines
715 B
Diff

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,