From 4017554a700ba6323d629b4527fc37423649d633 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 (#502) 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 d616dc452a..7b465e6178 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