[PATCH] D35245: [LibFuzzer] Fix GCC `-Wunused-result` warning

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 11:52:14 PDT 2017


joerg added a comment.

A better construct would be to compute the full length and change both it and Str in the loop. No point in the complex arithmetic. I generally do prefer this as it improves interaction with pipes etc.


https://reviews.llvm.org/D35245





More information about the llvm-commits mailing list