mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
logger: fix uninitialized member variable
This was reported by Coverity Scan.
This commit is contained in:
@@ -405,7 +405,7 @@ private:
|
||||
will be stopped after load printing (for the full log) */
|
||||
print_load_s _load{}; ///< process load data
|
||||
hrt_abstime _next_load_print{0}; ///< timestamp when to print the process load
|
||||
PrintLoadReason _print_load_reason;
|
||||
PrintLoadReason _print_load_reason {PrintLoadReason::Preflight};
|
||||
|
||||
param_t _sdlog_profile_handle{PARAM_INVALID};
|
||||
param_t _log_utc_offset{PARAM_INVALID};
|
||||
|
||||
Reference in New Issue
Block a user