diff --git a/tools/texturev/texturev.cpp b/tools/texturev/texturev.cpp index 755861aca..22a95b8ba 100644 --- a/tools/texturev/texturev.cpp +++ b/tools/texturev/texturev.cpp @@ -269,8 +269,7 @@ bool openFileSelectionDialog( , _inOutfilePath.get() ); - bx::LineReader lr(_filter); - while (!lr.isDone() ) + for (bx::LineReader lr(_filter); !lr.isDone();) { const bx::StringView line = lr.next();