mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-23 02:42:11 +03:00
Socpe reduce two variables.
This commit is contained in:
parent
0629a976ae
commit
69e6fd86b3
@ -63,14 +63,14 @@ char *scrap_txt_read(void)
|
||||
{
|
||||
char * buf = NULL;
|
||||
char path[80];
|
||||
int file;
|
||||
int len;
|
||||
|
||||
if (get_scrapdir (path))
|
||||
{
|
||||
int len;
|
||||
strcat (path, "scrap.txt");
|
||||
len = filesize(path);
|
||||
if(len > 0){
|
||||
int file;
|
||||
if ((file = (int) Fopen (path, 0)) >= 0)
|
||||
{
|
||||
buf = malloc(len);
|
||||
|
Loading…
Reference in New Issue
Block a user