unused variables

This commit is contained in:
Ron Pedde 2006-02-27 22:55:05 +00:00
parent 096a2a4dbc
commit 0918494faf

View File

@ -395,7 +395,7 @@ int conf_get_string(char *section, char *key, char *dflt, char *out, int *size)
result = pitem->value.as_string; result = pitem->value.as_string;
} }
len = strlen(result) + 1; len = (int) strlen(result) + 1;
if(len <= *size) { if(len <= *size) {
*size = len; *size = len;
@ -532,7 +532,6 @@ int conf_write(void) {
*/ */
int _conf_write(FILE *fp, LL *pll, int sublevel) { int _conf_write(FILE *fp, LL *pll, int sublevel) {
LL_ITEM *pli; LL_ITEM *pli;
int retval;
if(!pll) if(!pll)
return TRUE; return TRUE;