Skip to content

Commit

Permalink
Codecheck - initialize primitive in LogicalAudio component (#502)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashton Larkin <ashton@openrobotics.org>
  • Loading branch information
adlarkin committed Dec 18, 2020
1 parent 1a9f5d0 commit 4017554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ignition/gazebo/components/LogicalAudio.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4017554

Please sign in to comment.