Removed unused variable from plot.c