diff options
author | Benjamin Otte <otte@gnome.org> | 2009-07-08 02:20:05 +0800 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-07-08 02:23:19 +0800 |
commit | 8d0cbe9065b8568a2c077ded8d153a597fae6859 (patch) | |
tree | 889373c4b51efee0b27205d981a8e65d8aa12e0e | |
parent | 0d1ed2f9b621e6354b6904ea95d4dc5043b4e09f (diff) | |
download | gsoc2013-epiphany-8d0cbe9065b8568a2c077ded8d153a597fae6859.tar.gz gsoc2013-epiphany-8d0cbe9065b8568a2c077ded8d153a597fae6859.tar.zst gsoc2013-epiphany-8d0cbe9065b8568a2c077ded8d153a597fae6859.zip |
style fixes for a464b7332c02f6b4e34c5a7a88b8b93198f3e9be
- indent correctly
- remove leftover unused variable
-rw-r--r-- | src/ephy-completion-model.c | 8 |
1 files changed, 3 insertions, 5 deletions
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 <scheme>://<host>/ * 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; } |