Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tidy: Explicitly check file size in previewgenerator.cpp.
The clang-tidy "implicit boolean conversion" check pointed out a spot where a file size was implicitly converted to a boolean value. Fix to explicitly test to see if the file is non-zero in length. Changes made by the clang-tidy program. https://clang.llvm.org/extra/clang-tidy/checks/readability-implicit-bool-conversion.html
- Loading branch information