From f7f5706f280d43008cd27bc48ce6f76f7e34f99a Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 9 Nov 2013 22:05:29 +0000 Subject: [PATCH] Fix gcc warning about an uninitialized bool in sys/x86/iommu/intel_drv.c. Reviewed by: kib --- sys/x86/iommu/intel_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/x86/iommu/intel_drv.c b/sys/x86/iommu/intel_drv.c index 781b0090d29e..a846b924f05e 100644 --- a/sys/x86/iommu/intel_drv.c +++ b/sys/x86/iommu/intel_drv.c @@ -1049,6 +1049,8 @@ DB_FUNC(dmar_ctx, db_dmar_print_ctx, db_show_table, CS_OWN, NULL) } show_mappings = strchr(db_tok_string, 'm') != NULL; t = db_read_token(); + } else { + show_mappings = false; } if (t == tNUMBER) { domain = db_tok_number;