diff --git a/src/sbbs3/getkey.cpp b/src/sbbs3/getkey.cpp index fef142eb83c69d25274d367d8e38297a43e79e70..b26f5a1ee0fc0dcafb0dc609988aa6291c6e6314 100644 --- a/src/sbbs3/getkey.cpp +++ b/src/sbbs3/getkey.cpp @@ -332,7 +332,7 @@ bool sbbs_t::noyes(const char *str, int mode) /****************************************************************************/ int sbbs_t::getkeys(const char *keys, uint max, int mode) { - char str[81]; + char str[81]{}; uchar ch,n=0,c=0; uint i=0;