Lose redundant variable
svn path=/trunk/netsurf/; revision=7636
This commit is contained in:
parent
d09d540fff
commit
f0adddc334
|
@ -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] == '.')
|
||||||
|
|
Loading…
Reference in New Issue