mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-09 00:01:07 +00:00
Fix bugs identified by using PVS Studio
* A few copy-paste errors, some tautological checks indicating errors, missing return value checks.
This commit is contained in:
@@ -610,7 +610,7 @@ void ImageViewer::RefreshFile()
|
||||
}
|
||||
}
|
||||
|
||||
FreeEXRImage(&exrImage);
|
||||
ret = FreeEXRImage(&exrImage);
|
||||
|
||||
// shouldn't get here but let's be safe
|
||||
if(ret != 0)
|
||||
|
||||
Reference in New Issue
Block a user