mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 06:36:08 +00:00
Fix uninitialized variable warnings from static analysis
* Reported by Coverity Scan
This commit is contained in:
@@ -65,7 +65,11 @@ struct SortValue
|
||||
else
|
||||
val.u = result.value.u32;
|
||||
|
||||
default: break;
|
||||
default:
|
||||
qCritical() << "Unexpected component type" << ToQStr(description.resultType);
|
||||
type = Float;
|
||||
val.d = -1.0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user