mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-01-18 13:59:34 +08:00
supress complier warning
This commit is contained in:
parent
41cac842a8
commit
61b24a3697
@ -1,3 +1,5 @@
|
|||||||
|
#note: experimental
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.7)
|
cmake_minimum_required(VERSION 3.7)
|
||||||
project(speederv2)
|
project(speederv2)
|
||||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
@ -188,6 +188,9 @@ struct stat_t {
|
|||||||
inner_stat_t normal_to_fec;
|
inner_stat_t normal_to_fec;
|
||||||
inner_stat_t fec_to_normal;
|
inner_stat_t fec_to_normal;
|
||||||
stat_t() {
|
stat_t() {
|
||||||
|
clear();
|
||||||
|
}
|
||||||
|
void clear(){
|
||||||
memset(this, 0, sizeof(stat_t));
|
memset(this, 0, sizeof(stat_t));
|
||||||
}
|
}
|
||||||
void report_as_client() {
|
void report_as_client() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user