Lose redundant variable

svn path=/trunk/netsurf/; revision=7636
This commit is contained in:
John Mark Bell 2009-05-29 23:04:26 +00:00
parent d09d540fff
commit f0adddc334
1 changed files with 1 additions and 2 deletions

View File

@ -1201,7 +1201,6 @@ void ro_gui_save_set_state(struct content *c, gui_save_type save_type,
{ {
/* filename */ /* filename */
const char *name = gui_save_table[save_type].name; const char *name = gui_save_table[save_type].name;
url_func_result res;
bool done = false; bool done = false;
char *nice = NULL; char *nice = NULL;
utf8_convert_ret err; utf8_convert_ret err;
@ -1257,7 +1256,7 @@ void ro_gui_save_set_state(struct content *c, gui_save_type save_type,
} }
/* leafname */ /* leafname */
if (url && (res = url_nice(url, &nice, option_strip_extensions)) == if (url && url_nice(url, &nice, option_strip_extensions) ==
URL_FUNC_OK) { URL_FUNC_OK) {
for (i = 0; nice[i]; i++) { for (i = 0; nice[i]; i++) {
if (nice[i] == '.') if (nice[i] == '.')