Skip to content

Commit

Permalink
initialise 'tmp'
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Dec 29, 2024
1 parent a055026 commit 7153641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/msp/ByteVector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class ByteVector : public std::vector<uint8_t> {
if(count > unpacking_remaining()) return false;
bool rc = true;
val.clear();
int8_t tmp;
int8_t tmp = {};
for(size_t i = 0; i < count; ++i) {
rc &= unpack(tmp);
val += tmp;
Expand Down

0 comments on commit 7153641

Please # to comment.