Unused Value at packet-x11.c:2013 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
stringCopy (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-x11.c)![]() | ||||||
![]() | ||||||
2005 | static void stringCopy(char *dest, const char *source, int length) | |||||
2006 | { | |||||
2007 | guchar c; | |||||
2008 | while(length--) { | |||||
2009 | c = *source++; | |||||
2010 | if (!isgraph(c) && c != ' ') c = '.'; | |||||
2011 | *dest++ = c; | |||||
2012 | } | |||||
2013 | *dest++ = '\0';
| |||||
2014 | } | |||||
![]() |