Skip to content

Commit 61b24a3

Browse files
committed
supress complier warning
1 parent 41cac84 commit 61b24a3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#note: experimental
2+
13
cmake_minimum_required(VERSION 3.7)
24
project(speederv2)
35
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

connection.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ struct stat_t {
188188
inner_stat_t normal_to_fec;
189189
inner_stat_t fec_to_normal;
190190
stat_t() {
191+
clear();
192+
}
193+
void clear(){
191194
memset(this, 0, sizeof(stat_t));
192195
}
193196
void report_as_client() {

0 commit comments

Comments
 (0)