From b3348a6706dd3b3306e074fbcef6a7ce673e5db6 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 20 Aug 2013 15:15:47 +0200 Subject: Removed unused flags from String (free 1 byte of SRAM) --- cores/arduino/WString.cpp | 1 - cores/arduino/WString.h | 1 - 2 files changed, 2 deletions(-) (limited to 'cores/arduino') diff --git a/cores/arduino/WString.cpp b/cores/arduino/WString.cpp index db79da4..e462bee 100644 --- a/cores/arduino/WString.cpp +++ b/cores/arduino/WString.cpp @@ -134,7 +134,6 @@ inline void String::init(void) buffer = NULL; capacity = 0; len = 0; - flags = 0; } void String::invalidate(void) diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index b3b9f14..f801f63 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -191,7 +191,6 @@ protected: char *buffer; // the actual char array unsigned int capacity; // the array length minus one (for the '\0') unsigned int len; // the String length (not counting the '\0') - unsigned char flags; // unused, for future features protected: void init(void); void invalidate(void); -- cgit v1.2.3-18-g5258