summaryrefslogtreecommitdiff
path: root/gtk/scaffolding.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2013-10-25 12:03:53 +0100
committerVincent Sanders <vince@netsurf-browser.org>2013-10-25 12:42:53 +0100
commit2cd2846122644071ae07acff1ec52f459848d0fe (patch)
treeba0e9cbbd57734dda6ba53b44a3876569f2a34d9 /gtk/scaffolding.c
parenta921a007e626bb9a96b3c81d161bbdd8d2af7ad6 (diff)
downloadnetsurf-2cd2846122644071ae07acff1ec52f459848d0fe.tar.gz
fix coverity 1109906 uninitialised pointer read
Diffstat (limited to 'gtk/scaffolding.c')
-rw-r--r--gtk/scaffolding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/scaffolding.c b/gtk/scaffolding.c
index fdc3cc727..80b6dea4c 100644
--- a/gtk/scaffolding.c
+++ b/gtk/scaffolding.c
@@ -612,7 +612,7 @@ MULTIHANDLER(newwindow)
nserror nsgtk_scaffolding_new_tab(struct gui_window *gw)
{
struct browser_window *bw = nsgtk_get_browser_window(gw);
- nsurl *url;
+ nsurl *url = NULL;
nserror error;
if (!nsoption_bool(new_blank)) {