diff options
author | Duncan Sands <baldrick@free.fr> | 2010-10-20 08:21:16 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-10-20 08:21:16 +0000 |
commit | 54bd4577762228fdca4367dbc3af5e13e7f21389 (patch) | |
tree | 3a7ab368e01ba39d81ebb374b22d3ee2cd63d4e7 /lib/Analysis/PrintfFormatString.cpp | |
parent | aa56a66abb61e9f42b48ae88e43328aba10c9148 (diff) |
GCC 4.4 warns that Receiver may be used uninitialized in this function.
As far as I can see, gcc is right to think this! The following change
will cause a nice segfault rather than undefined behaviour if this case
occurs. Someone who understands what this code is supposed to do should
probably take a proper look.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
0 files changed, 0 insertions, 0 deletions