supress complier warning

This commit is contained in:
yancey 2023-02-07 06:40:40 -05:00
parent 41cac842a8
commit 61b24a3697
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#note: experimental
cmake_minimum_required(VERSION 3.7)
project(speederv2)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

View File

@ -188,6 +188,9 @@ struct stat_t {
inner_stat_t normal_to_fec;
inner_stat_t fec_to_normal;
stat_t() {
clear();
}
void clear(){
memset(this, 0, sizeof(stat_t));
}
void report_as_client() {