qed: initialize return rc to avoid returning garbage