aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-03 22:48:21 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-03 22:48:21 -0800
commit087940ec9ee6ee8f989eac49453ebe6be761fa6b (patch)
treeb5c1f9bf1d1ceb7eee929f20b787c766d4a86d50 /env.cpp
parent8a46931e3426b724f8502cb77f4a6787e5294c40 (diff)
Fix a bug where wfopen would always fail
Removed some buffer_t
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/env.cpp b/env.cpp
index 7c1abadc..3795c896 100644
--- a/env.cpp
+++ b/env.cpp
@@ -173,11 +173,6 @@ static bool is_electric(const wcstring &key)
*/
static null_terminated_array_t<char> export_array;
-/**
- Buffer used for storing string contents for export_arr
-*/
-static buffer_t export_buffer;
-
/**
Flag for checking if we need to regenerate the exported variable
@@ -507,8 +502,6 @@ void env_init()
wchar_t *uname;
wchar_t *version;
- b_init( &export_buffer );
-
/*
env_read_only variables can not be altered directly by the user
*/
@@ -671,8 +664,6 @@ void env_destroy()
{
env_universal_destroy();
- b_destroy( &export_buffer );
-
while( &top->env != global )
{
env_pop();