e: remove unused variable

SVN revision: 77626
This commit is contained in:
Sebastian Dransfeld 2012-10-09 08:40:26 +00:00
parent 0a24d3194d
commit 7b62d5e9e3
1 changed files with 1 additions and 3 deletions

View File

@ -233,8 +233,6 @@ _cb_entry_ok(void *data, char *text)
f = fopen(buf, "w");
if (f)
{
int ret = 0;
/* Populate this .order file with some defaults */
snprintf(tmp, sizeof(tmp),
"terminology.desktop\n"
@ -243,7 +241,7 @@ _cb_entry_ok(void *data, char *text)
"openoffice.desktop\n"
"xchat.desktop\n"
"gimp.desktop\n");
ret = fwrite(tmp, sizeof(char), strlen(tmp), f);
fwrite(tmp, sizeof(char), strlen(tmp), f);
fclose(f);
}
}