fixed compile warnings - inc one bug

in intel_hex_to_buffer function previously had a bitwise & instead
of logical.  this has been fixed in addition to several init but
unused variables.