Fixed maybe-uninitialized warning

See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/567958670
This commit is contained in:
Kristian Sloth Lauszus 2019-08-08 10:25:43 +02:00
parent 821e37ed18
commit 102bf3f765

View file

@ -30,6 +30,11 @@ e-mail : support@circuitsathome.com
struct MultiValueBuffer { struct MultiValueBuffer {
uint8_t valueSize; uint8_t valueSize;
void *pValue; void *pValue;
public:
MultiValueBuffer() : valueSize(0), pValue(NULL) {
};
} __attribute__((packed)); } __attribute__((packed));
class MultiByteValueParser { class MultiByteValueParser {