mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
parseList: removed unused value parameter
This commit is contained in:
parent
6dbea6a69b
commit
5f4e56a5e1
6 changed files with 8 additions and 8 deletions
|
@ -67,7 +67,7 @@ int main (int argc, char **argv)
|
|||
psyc_initParseListState(&listState);
|
||||
psyc_setParseListBuffer(&listState, value);
|
||||
|
||||
while ((ret = psyc_parseList(&listState, &value, &elem)))
|
||||
while ((ret = psyc_parseList(&listState, &elem)))
|
||||
{
|
||||
switch (ret)
|
||||
{
|
||||
|
|
|
@ -453,7 +453,7 @@ int main (int argc, char **argv)
|
|||
|
||||
do
|
||||
{
|
||||
retl = psyc_parseList(&listState, pvalue, &elem);
|
||||
retl = psyc_parseList(&listState, &elem);
|
||||
switch (retl)
|
||||
{
|
||||
case PSYC_PARSE_LIST_END:
|
||||
|
@ -468,7 +468,7 @@ int main (int argc, char **argv)
|
|||
break;
|
||||
|
||||
default:
|
||||
printf("# Error while parsing list: %i\n", ret);
|
||||
printf("# Error while parsing list: %i\n", retl);
|
||||
ret = retl = -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue