From b5128025a21a18f13f54adfb8ad116e71037b51d Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Thu, 23 Dec 2010 21:35:02 -0700 Subject: fix warnings when building uzbl-core.c --- src/uzbl-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/uzbl-core.c b/src/uzbl-core.c index 03741de..fc21978 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -914,7 +914,7 @@ void add_cookie(WebKitWebView *page, GArray *argv, GString *result) { (void) page; (void) result; gchar *host, *path, *name, *value; - gboolean http_only = 0, secure = 0; + gboolean secure = 0; SoupDate *expires = NULL; if(argv->len != 6) @@ -1329,7 +1329,7 @@ spawn(GArray *argv, gboolean sync, gboolean exec) { if (sync && exec && uzbl.comm.sync_stdout) { gchar *head = uzbl.comm.sync_stdout; gchar *tail; - while (tail = strchr (head, '\n')) { + while ((tail = strchr (head, '\n'))) { *tail = '\0'; parse_cmd_line(head, NULL); head = tail + 1; -- cgit v1.2.3