summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (Gottox) <gottox@s01.de>2009-06-08 16:49:56 +0200
committerEnno Boland (Gottox) <gottox@s01.de>2009-06-08 16:49:56 +0200
commitd3d9c9b714e256ddb62d75ce10830c01226d83ad (patch)
treebaa0e3d76b75e1f813d993d54226f2f7310d2f9c /surf.c
parent25155222c843f28a90a5e77876c24d10c51a1e7b (diff)
downloadsurf-d3d9c9b714e256ddb62d75ce10830c01226d83ad.tar.gz
surf-d3d9c9b714e256ddb62d75ce10830c01226d83ad.tar.bz2
surf-d3d9c9b714e256ddb62d75ce10830c01226d83ad.zip
some cleanups.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 57d4033..35ef358 100644
--- 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);