2011-10-25 11:11:54

by Rafal Michalski

[permalink] [raw]
Subject: [PATCH obexd] Code clean-up: Remove unnecessary code line breaking

This patch removes unnecessary code line breaking.
---
plugins/phonebook-tracker.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index 3be3a89..e4f2383 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -1120,8 +1120,7 @@ static void contact_add_addresses(struct phonebook_contact *contact,
int i;

/* Addresses from affilation */
- aff_addr = g_strsplit(reply[COL_ADDR_AFF], MAIN_DELIM,
- MAX_FIELDS);
+ aff_addr = g_strsplit(reply[COL_ADDR_AFF], MAIN_DELIM, MAX_FIELDS);

if (aff_addr)
for (i = 0; aff_addr[i] != NULL; ++i)
--
1.6.3.3



2011-10-25 11:35:07

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH obexd] Code clean-up: Remove unnecessary code line breaking

Hi Rafal,

On Tue, Oct 25, 2011, Rafal Michalski wrote:
> This patch removes unnecessary code line breaking.
> ---
> plugins/phonebook-tracker.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)

Applied. Thanks.

Johan