Removed unused local variables. MSVC++ doesn't have vsscanf(), so cscanf() doesn't work with that tool chain.