Diff between 33c2e6b851308f3333eac398792534f951e63647 and 4900161462f19cfd007fd4dd3d28d6e83ae5ebac

Changed Files

File Additions Deletions Status
obexd/client/pbap.c +0 -9 modified

Full Patch

diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index 57632b4..28203a8 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
@@ -1111,9 +1111,6 @@ static gboolean get_databaseid(const GDBusPropertyTable *property,
 	char value[33];
 	const char *pvalue = value;
 
-	if (!pbap->databaseid)
-		return FALSE;
-
 	if (u128_to_string(pbap->databaseid, value, sizeof(value)) < 0)
 		return FALSE;
 
@@ -1137,9 +1134,6 @@ static gboolean get_primary(const GDBusPropertyTable *property,
 	char value[33];
 	const char *pvalue = value;
 
-	if (!pbap->primary)
-		return FALSE;
-
 	if (u128_to_string(pbap->primary, value, sizeof(value)) < 0)
 		return FALSE;
 
@@ -1155,9 +1149,6 @@ static gboolean get_secondary(const GDBusPropertyTable *property,
 	char value[33];
 	const char *pvalue = value;
 
-	if (!pbap->secondary)
-		return FALSE;
-
 	if (u128_to_string(pbap->secondary, value, sizeof(value)) < 0)
 		return FALSE;