diff options
author | dim <dim@FreeBSD.org> | 2013-11-09 22:05:29 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-11-09 22:05:29 +0000 |
commit | 65aecc9afe80e46b9b685ae7864989efd2b29d9e (patch) | |
tree | 5759834a5a172999a6f395b20b97892449c041e9 | |
parent | ae77d250d37bc175d131be294839825b571854ea (diff) | |
download | FreeBSD-src-65aecc9afe80e46b9b685ae7864989efd2b29d9e.zip FreeBSD-src-65aecc9afe80e46b9b685ae7864989efd2b29d9e.tar.gz |
Fix gcc warning about an uninitialized bool in sys/x86/iommu/intel_drv.c.
Reviewed by: kib
-rw-r--r-- | sys/x86/iommu/intel_drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |