mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:55:10 +00:00
[FIX] Make Parsee build on GCC without warns
This commit is contained in:
parent
1d188069db
commit
907ac13da9
20 changed files with 72 additions and 20 deletions
|
|
@ -131,7 +131,7 @@ RouteHead(RouteRoot, arr, argp)
|
|||
P("<pre id='ascii'><code>");
|
||||
for (i = 0; i < PARSEE_ASCII_LINES; i++)
|
||||
{
|
||||
XMLElement *e = XMLCreateText(parsee_ascii[i]);
|
||||
XMLElement *e = XMLCreateText((char *) parsee_ascii[i]);
|
||||
XMLEncode(args->stream, e);
|
||||
XMLFreeElement(e);
|
||||
P("<br/>");
|
||||
|
|
@ -249,5 +249,6 @@ RouteHead(RouteRoot, arr, argp)
|
|||
P("</html>");
|
||||
#undef P
|
||||
|
||||
(void) arr;
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ RouteHead(RouteTxns, arr, argp)
|
|||
|
||||
response = HashMapCreate();
|
||||
end:
|
||||
(void) arr;
|
||||
JsonFree(request);
|
||||
return response;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue