From 102bf3f76516ed74b373e00babbe7a6055a12828 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Thu, 8 Aug 2019 10:25:43 +0200 Subject: [PATCH] Fixed maybe-uninitialized warning See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/567958670 --- parsetools.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/parsetools.h b/parsetools.h index 62892061..f7525369 100644 --- a/parsetools.h +++ b/parsetools.h @@ -30,6 +30,11 @@ e-mail : support@circuitsathome.com struct MultiValueBuffer { uint8_t valueSize; void *pValue; + +public: + + MultiValueBuffer() : valueSize(0), pValue(NULL) { + }; } __attribute__((packed)); class MultiByteValueParser {