[llvm] [NFC][Fuzzer] Fix zero-size array argv warning (PR #112944)
Björn Pettersson via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 14:20:23 PDT 2024
https://github.com/bjope commented:
I think we can do this rather small change if it makes life simpler for those using gcc.
Afaict the problem is that the warning was incorrect/false, right?
It would be nice if the commit message say something about that this just refactors the code to avoid a false warning from gcc, rather than saying that it fixes a warning (because the end result is supposed to be the same, so if I understand correctly this patch is a NFC refactoring and not really fixing a problem with zero-size arrays).
So LG, if you update the commit message to clarify that part.
https://github.com/llvm/llvm-project/pull/112944
More information about the llvm-commits
mailing list