You do not need `make-local-variable` here.  `flycheck-checker` is buffer-local.