Ignored Return Value at print.c:737 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
print_escaped_xml (/home/sate/Testcases/c/cve/wireshark-1.2.0/print.c)![]() | ||||||
![]() | ||||||
715 | print_escaped_xml(FILE *fh, const char *unescaped_string) | |||||
716 | { | |||||
717 | const char *p; | |||||
718 | ||||||
719 | for (p = unescaped_string; *p != '\0'; p++) { | |||||
720 | switch (*p) { | |||||
721 | case '&': | |||||
722 | fputs("&", fh); | |||||
723 | break; | |||||
724 | case '<': | |||||
725 | fputs("<", fh); | |||||
726 | break; | |||||
727 | case '>': | |||||
728 | fputs(">", fh); | |||||
729 | break; | |||||
730 | case '"': | |||||
731 | fputs(""", fh); | |||||
732 | break; | |||||
733 | case '\'': | |||||
734 | fputs("'", fh); | |||||
735 | break; | |||||
736 | default: | |||||
737 | fputc(*p, fh);
| |||||
738 | } | |||||
739 | } | |||||
740 | } | |||||
![]() |