

mem_zero(m_aErrorString, sizeof(m_aErrorString) / sizeof(m_aErrorString[0])); instead of mem_zero(m_aErrorString, sizeof(m_aErrorString)); when m_aErrorString is an array allocated on the stack?

Hacker News • 2022-02-15 21:10:56Z 

mem_zero(m_aErrorString, sizeof(m_aErrorString) / sizeof(m_aErrorString[0])); instead of mem_zero(m_aErrorString, sizeof(m_aErrorString)); when m_aErrorString is an array allocated on the stack? 

mem_zero(m_aErrorString, sizeof(m_aErrorString) / sizeof(m_aErrorString[0])); instead of mem_zero(m_aErrorString, sizeof(m_aErrorString)); when m_aErrorString is an array allocated on the stack? 














































Hacker News • 2022-02-16 07:49:48Z 

































































































rm -rf /usr, and one of the comment said : "that's what i get for using alpha versions"




/usr and the rest of the path 

// ignore_convention comments are obsolete as they are only used inconsistently and not being added in new code anymore. The script https://github.com/teeworlds/teeworlds/blob/master/scripts/refactor_count.py that checks for these annotations does not exist in ddnet.





