Skip to content

Scan build: Result of operation is garbage or undefined

Mikel Irazabal requested to merge scan_build_result_op_garbage_or_undef into develop

Solving the bugs reported by scan-build can be hard, as the functions in OAI are made of hundreds of lines. However, we can at least force predictable results, mostly initializing the variables and ensuring preconditions. I this manner, I hope that the job of the next developer when removing the bug, will at least avoid non-initialized values.

Merge request reports