diff --git a/platforms/posix/src/px4/common/px4_daemon/pxh.h b/platforms/posix/src/px4/common/px4_daemon/pxh.h index 0fd6018c623..2139277530f 100644 --- a/platforms/posix/src/px4/common/px4_daemon/pxh.h +++ b/platforms/posix/src/px4/common/px4_daemon/pxh.h @@ -84,9 +84,9 @@ private: void _setup_term(); static void _restore_term(); - bool _should_exit; + bool _should_exit{false}; History _history; - struct termios _orig_term; + struct termios _orig_term {}; static apps_map_type _apps; static Pxh *_instance;