[Drbd-dev] [PATCH 10/10] compiler: Remove uninitialized_var() macro
Bart Van Assche
bvanassche at acm.org
Thu Jun 4 02:00:31 CEST 2020
On 2020-06-03 16:32, Kees Cook wrote:
> Using uninitialized_var() is dangerous as it papers over real bugs[1]
> (or can in the future), and suppresses unrelated compiler warnings
> (e.g. "unused variable"). If the compiler thinks it is uninitialized,
> either simply initialize the variable or make compiler changes.
Thank you for having done this work!
Reviewed-by: Bart van Assche <bvanassche at acm.org>
More information about the drbd-dev
mailing list