1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-06-09 06:20:43 +00:00

Fixed a potentially uninitialized char in strcut()

This commit is contained in:
Kim Holviala 2016-10-18 13:24:56 +03:00
parent 7b26f1e186
commit cc38f5afcb

View File

@ -63,7 +63,7 @@ void strreplace(char *str, char from, char to)
*/
size_t strcut(char *str, size_t width)
{
unsigned char c;
unsigned char c = '\0';
int w = 0;
int i;