[dx12] Fix compiler warning

This commit is contained in:
Igor Shaposhnik 2021-09-02 14:06:18 +03:00
parent 3ced8bf892
commit 792fbc17e5

View File

@ -253,7 +253,7 @@ impl super::Device {
error.GetBufferSize(),
)
};
write!(full_msg, ": {}", String::from_utf8_lossy(message));
let _ = write!(full_msg, ": {}", String::from_utf8_lossy(message));
unsafe {
error.destroy();
}