mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
fix: r600/sfn: unused variable ‘splitpos’ [-Wunused-variable]
Only used in debug builds. Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by: Mihai Preda <mhpreda@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18643>
This commit is contained in:
parent
5efce78fd9
commit
dbf48d346c
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ bool TCSShader::read_prop(std::istream& is)
|
|||
string value;
|
||||
is >> value;
|
||||
|
||||
auto splitpos = value.find(':');
|
||||
ASSERTED auto splitpos = value.find(':');
|
||||
assert(splitpos != string::npos);
|
||||
|
||||
std::istringstream ival(value);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue