The 'opc' variable was only conditionally assigned to (depends on successful SCPI communication). Ensure there always is a known value. This was reported by clang's scan-build.