How can I suppress this error in valgrind’s output?
==16727== 1 errors in context 2 of 18:
==16727== Conditional jump or move depends on uninitialised value(s)
What causes this error? Can I just ignore it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means that one of your control path is such that an variable/data does not get initialized when that control path gets executed. Unitialized variables usually result in Undefined Behavior So valgrind detects it and reports it.
Have a look at this, It shall help you understand the error.
Also, add the flag
--track-origins=yesto valgrind and it will give you information on the sources of uninitialised data.