smartypants: Silence the warning with a (void) cast
This commit is contained in:
parent
9f379cc2ab
commit
23d4fcda11
1 changed files with 1 additions and 2 deletions
|
@ -32,7 +32,6 @@ main(int argc, char **argv)
|
|||
{
|
||||
struct buf *ib, *ob;
|
||||
size_t ret;
|
||||
int fwrite_ret;
|
||||
FILE *in = stdin;
|
||||
|
||||
/* opening the file if given from the command line */
|
||||
|
@ -61,7 +60,7 @@ main(int argc, char **argv)
|
|||
sdhtml_smartypants(ob, ib->data, ib->size);
|
||||
|
||||
/* writing the result to stdout */
|
||||
fwrite_ret = fwrite(ob->data, 1, ob->size, stdout);
|
||||
(void)fwrite(ob->data, 1, ob->size, stdout);
|
||||
|
||||
/* cleanup */
|
||||
bufrelease(ib);
|
||||
|
|
Loading…
Reference in a new issue