summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk2
-rw-r--r--src/session.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 2f7b422b..c7a571ca 100644
--- a/config.mk
+++ b/config.mk
@@ -44,7 +44,7 @@ HEAD_FILE=head.html
KEY_FILE=keys.html
ERROR_FILE=error.html
-#FLAGS += -pedantic
+FLAGS += -pedantic
CFLAGS += -Wall
CFLAGS += -pipe
CFLAGS += $(shell pkg-config --cflags $(LIBS))
diff --git a/src/session.c b/src/session.c
index 0dbba2f2..1a2a85d4 100644
--- a/src/session.c
+++ b/src/session.c
@@ -91,7 +91,7 @@ session_restore(const char *name) {
}
char **lines = g_strsplit(group, "\n", -1);
WebKitWebView *web, *lastweb = NULL;
- WebKitWebBackForwardList *bf_list;
+ WebKitWebBackForwardList *bf_list = NULL;
int last = 1;
char *uri = NULL;