diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2013-10-25 12:03:53 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2013-10-25 12:42:53 +0100 |
commit | 2cd2846122644071ae07acff1ec52f459848d0fe (patch) | |
tree | ba0e9cbbd57734dda6ba53b44a3876569f2a34d9 /gtk/scaffolding.c | |
parent | a921a007e626bb9a96b3c81d161bbdd8d2af7ad6 (diff) | |
download | netsurf-2cd2846122644071ae07acff1ec52f459848d0fe.tar.gz |
fix coverity 1109906 uninitialised pointer read
Diffstat (limited to 'gtk/scaffolding.c')
-rw-r--r-- | gtk/scaffolding.c | 2 |
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)) { |