diff --git a/src/d_anonstats.cpp b/src/d_anonstats.cpp index 1c3a240b63..a1f7ee6bdd 100644 --- a/src/d_anonstats.cpp +++ b/src/d_anonstats.cpp @@ -306,7 +306,7 @@ static FString GetDeviceName() if (pos >= 0) device.Truncate(pos); } - auto pos = device.IndexOf("(LLVM"); + pos = device.IndexOf("(LLVM"); if (pos >= 0) device.Truncate(pos); pos = device.IndexOf("(DRM"); if (pos >= 0) device.Truncate(pos);