summaryrefslogtreecommitdiff
path: root/src/profile.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-07-29 17:20:50 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-08-01 13:28:44 +0300
commit8a8f26c3ae30c17255820cb9efac24b60ee13935 (patch)
tree22c187b54ba61c90a6d8ebeaea7001664a4aaf2d /src/profile.c
parentd886b0817d745226f88cfeabbf2d9888373f35fe (diff)
downloadbluez-8a8f26c3ae30c17255820cb9efac24b60ee13935.tar.gz
core: Remove unneeded assignment
Variable rfcomm is never used after assignment
Diffstat (limited to 'src/profile.c')
-rw-r--r--src/profile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/profile.c b/src/profile.c
index 528525ac2..7aca3beef 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -1272,7 +1272,6 @@ static uint32_t ext_start_servers(struct ext_profile *ext,
error("RFCOMM server failed for %s: %s",
ext->name, err->message);
g_free(rfcomm);
- rfcomm = NULL;
g_clear_error(&err);
goto failed;
} else {