Removed redundant structure for forward declaration
Removed unused variable in error.c