aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-08-20 15:15:47 +0200
committerCristian Maglie <c.maglie@bug.st>2013-08-20 15:15:47 +0200
commitb3348a6706dd3b3306e074fbcef6a7ce673e5db6 (patch)
tree2cca1adaadefb4feec41c1d5b5760c43d2ac506b /cores/arduino
parenta8193ed933d9c9954cefbfb541cde56770ab5b74 (diff)
Removed unused flags from String (free 1 byte of SRAM)
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/arduino/WString.cpp1
-rw-r--r--cores/arduino/WString.h1
2 files changed, 0 insertions, 2 deletions
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);