diff --git a/debug.cpp b/debug.cpp index bc346e6a28..01979c3b73 100644 --- a/debug.cpp +++ b/debug.cpp @@ -78,7 +78,7 @@ HSAKMT_STATUS HSAKMTAPI hsaKmtRuntimeDisable(void) { HSAKMT_STATUS result = hsaKmtCheckRuntimeDebugSupport(); if (result) - return result; + return HSAKMT_STATUS_SUCCESS; assert(false); return HSAKMT_STATUS_SUCCESS;