There were several unused variables in halog.c that each caused a compiler warning [-Wunused-but-set-variable]. This patch simply removes the declaration of said vairables and any instance where the unused variable was assigned a value.