From 8d0cbe9065b8568a2c077ded8d153a597fae6859 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 7 Jul 2009 20:20:05 +0200 Subject: style fixes for a464b7332c02f6b4e34c5a7a88b8b93198f3e9be - indent correctly - remove leftover unused variable --- src/ephy-completion-model.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/ephy-completion-model.c') diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c index 6f4c3ccb5..921fa3757 100644 --- a/src/ephy-completion-model.c +++ b/src/ephy-completion-model.c @@ -344,13 +344,11 @@ init_favicon_col (EphyCompletionModel *model, GValue *value, g_value_take_object (value, pixbuf); } -const GRegex *base_address_regex = NULL; - static gboolean is_base_address (const char *address) { if (address == NULL) - return FALSE; + return FALSE; /* a base address is :/// * Neither scheme nor host contain a slash, so we can use slashes @@ -363,13 +361,13 @@ is_base_address (const char *address) address = strchr (address, '/'); if (address == NULL || address[1] != '/') - return FALSE; + return FALSE; address += 2; address = strchr (address, '/'); if (address == NULL || address[1] != 0) - return FALSE; + return FALSE; return TRUE; } -- cgit