some cleanups.
authorEnno Boland (Gottox) <gottox@s01.de>
Mon, 8 Jun 2009 14:49:56 +0000 (16:49 +0200)
committerEnno Boland (Gottox) <gottox@s01.de>
Mon, 8 Jun 2009 14:49:56 +0000 (16:49 +0200)
surf.c

diff --git a/surf.c b/surf.c
index 57d4033..35ef358 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -95,7 +95,8 @@ destroywin(GtkWidget* w, gpointer d) {
        destroyclient(c);
 }
 
-void die(char *str) {
+void
+die(char *str) {
        fputs(str, stderr);
        exit(EXIT_FAILURE);
 }
@@ -270,7 +271,6 @@ loadcommit(WebKitWebView *view, WebKitWebFrame *f, gpointer d) {
 void
 loadstart(WebKitWebView *view, WebKitWebFrame *f, gpointer d) {
        Client *c = (Client *)d;
-       gchar *uri;
 
        if(c->download)
                stop(c);