aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2010-12-23 21:35:02 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2010-12-23 21:35:02 -0700
commitb5128025a21a18f13f54adfb8ad116e71037b51d (patch)
treeb41c091fc9dcac66885ecc103fe957890640f67d
parent2744b6baf031d53201679fba0768c31520f09a84 (diff)
fix warnings when building uzbl-core.c
-rw-r--r--src/uzbl-core.c4
1 files changed, 2 insertions, 2 deletions
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;