diff options
Diffstat (limited to 'src/usr/errl/errlentry.C')
| -rw-r--r-- | src/usr/errl/errlentry.C | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/errl/errlentry.C b/src/usr/errl/errlentry.C index 1cf309cdc..61eeb15f2 100644 --- a/src/usr/errl/errlentry.C +++ b/src/usr/errl/errlentry.C @@ -704,8 +704,14 @@ void ErrlEntry::addVersionInfo() if ( !INITSERVICE::spBaseServicesEnabled() && PNOR::isSectionAvailable(PNOR::VERSION)) { + +// Setting variables only used in config secureboot +#ifdef CONFIG_SECUREBOOT bool l_secureSectionLoaded = false; - errlHndl_t l_errl = nullptr, l_errl_loadSecureSection = nullptr; + errlHndl_t l_errl_loadSecureSection = nullptr; +#endif + + errlHndl_t l_errl = nullptr; do { |

