fix: add missing return from non-void function

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski 2024-10-15 12:35:06 +00:00 committed by Compute-Runtime-Automation
parent 8b780293e9
commit a149336ea1
1 changed files with 1 additions and 1 deletions

View File

@ -2310,7 +2310,7 @@ inline uint64_t CommandListCoreFamily<gfxCoreFamily>::getInputBufferSize(NEO::Im
driverHandle->setErrorDescription(std::string(str.get()));
PRINT_DEBUG_STRING(NEO::debugManager.flags.PrintDebugMessages.get(), stderr, "invalid imageType: %d\n", imageType);
UNRECOVERABLE_IF(true);
break;
return 0;
}
case NEO::ImageType::image1D:
return bufferRowPitch;