resource-asm: fixed static analysis issues in asm-bridge.