mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-25 20:33:08 -05:00
Squash some more warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6595 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
dd6f48ccca
commit
720412ff5a
@ -34,7 +34,10 @@ namespace
|
||||
{
|
||||
auto len = std::min (size_t (4), strlen (id));
|
||||
memcpy (id_.data (), id, len);
|
||||
memset (id_.data () + len, ' ', 4u - len);
|
||||
if (len < 4u)
|
||||
{
|
||||
memset (id_.data () + len, ' ', 4u - len);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user