lnmon.c: remove the warning variable set but not used.
         add __attribute__((unused)) in source code.