Removed unused error buffer