summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-service.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-10-26 12:24:36 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-10-26 12:24:36 +0000
commit2734fe059d1171d6eb287a02c6294f26b3621f47 (patch)
treed094b55c1f624129eae50d0ee654820ea3b5d50c /hcid/dbus-service.c
parent1b09fd9544ce1f0afaea5f96a0b955fed51ed939 (diff)
Code cleanup
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r--hcid/dbus-service.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 6aae2057..9f836d6f 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -202,8 +202,7 @@ static DBusHandlerResult get_name(DBusConnection *conn,
{
DBusMessage *reply;
struct service_agent *agent;
- char empty[] = "";
- const char *name = empty;
+ const char *name = "";
reply = dbus_message_new_method_return(msg);
if (!reply)
@@ -227,8 +226,7 @@ static DBusHandlerResult get_description(DBusConnection *conn,
{
DBusMessage *reply;
struct service_agent *agent;
- char empty[] = "";
- const char *description = empty;
+ const char *description = "";
reply = dbus_message_new_method_return(msg);
if (!reply)