summaryrefslogtreecommitdiff
path: root/src/string_bytes.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-03-03 15:09:58 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-03-05 20:44:18 +0100
commit364cc7e08a5d4b74891362f837ff9c34844c3d35 (patch)
treed371801fcbad38a4016eada51ed52ae70765169b /src/string_bytes.h
parent826cde866170918fbeeeffc8612d4f4e0a923869 (diff)
downloadandroid-node-v8-364cc7e08a5d4b74891362f837ff9c34844c3d35.tar.gz
android-node-v8-364cc7e08a5d4b74891362f837ff9c34844c3d35.tar.bz2
android-node-v8-364cc7e08a5d4b74891362f837ff9c34844c3d35.zip
src: remove NODE_INVALID_UTF8 environment variable
Introduced in joyent/node v0.10 as a backwards compatibility measure. It's an ugly hack and allowing invalid UTF-8 is not a good idea in the first place, remove it. PR-URL: https://github.com/iojs/io.js/pull/1042 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/string_bytes.h')
-rw-r--r--src/string_bytes.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/string_bytes.h b/src/string_bytes.h
index 424d9245aa..2fcfedaa09 100644
--- a/src/string_bytes.h
+++ b/src/string_bytes.h
@@ -10,8 +10,6 @@
namespace node {
-extern int WRITE_UTF8_FLAGS;
-
class StringBytes {
public:
class InlineDecoder {