diff --git a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hiprtc.h b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hiprtc.h index 449fe342af..db5657e6e6 100644 --- a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hiprtc.h +++ b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hiprtc.h @@ -76,6 +76,8 @@ inline static nvrtcResult hiprtcResultTonvrtcResult(hiprtcResult result) { return NVRTC_ERROR_NAME_EXPRESSION_NOT_VALID; case HIPRTC_ERROR_INTERNAL_ERROR: return NVRTC_ERROR_INTERNAL_ERROR; + default: + return NVRTC_ERROR_INTERNAL_ERROR; } } @@ -105,6 +107,8 @@ inline static hiprtcResult nvrtcResultTohiprtcResult(nvrtcResult result) { return HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID; case NVRTC_ERROR_INTERNAL_ERROR: return HIPRTC_ERROR_INTERNAL_ERROR; + default: + return HIPRTC_ERROR_INTERNAL_ERROR; } }