From 65aecc9afe80e46b9b685ae7864989efd2b29d9e Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 9 Nov 2013 22:05:29 +0000 Subject: 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(+) (limited to 'sys/x86/iommu') diff --git a/sys/x86/iommu/intel_drv.c b/sys/x86/iommu/intel_drv.c index 781b009..a846b92 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; -- cgit v1.1