Fixed 'result not assigned' bug in jcf_mesh_base.f90.

Also commentout/remove unused local variables.