From 60a89553fbd13150221226894bd02ddfccaadf43 Mon Sep 17 00:00:00 2001 From: Ashton Larkin Date: Fri, 18 Dec 2020 11:46:51 -0500 Subject: [PATCH] Codecheck - initialize primitive in LogicalAudio component Signed-off-by: Ashton Larkin --- include/ignition/gazebo/components/LogicalAudio.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ignition/gazebo/components/LogicalAudio.hh b/include/ignition/gazebo/components/LogicalAudio.hh index d616dc452a5..7b465e61782 100644 --- a/include/ignition/gazebo/components/LogicalAudio.hh +++ b/include/ignition/gazebo/components/LogicalAudio.hh @@ -91,7 +91,7 @@ namespace logical_audio } /// \brief Whether the source is currently playing or not - bool playing; + bool playing{false}; /// \brief How long the source should play for, in seconds. /// Setting this to 0 means the source has a play duration of infinity