Skip to content
Commit e2872c00 authored by Laurentiu Mihalcea's avatar Laurentiu Mihalcea Committed by Carles Cufí
Browse files

drivers: intc: irqstr: initialize 'enabled' variable



Initialize the 'enabled' variable before using it.
This fixes the following compilation warning:

"warning: 'enabled' may be used uninitialized [-Wmaybe-uninitialized]"

issued when compiling with `CONFIG_DEBUG` enabled.

Signed-off-by: default avatarLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Tested-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
parent cdd56350
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment