Mesa (master): intel/tools: fix possible randomly increased verbosity of error2aub
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Sep 10 12:27:51 UTC 2020
Module: Mesa
Branch: master
Commit: 69e65b9cf08f0f594f24810bf8f9ee6c79744743
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69e65b9cf08f0f594f24810bf8f9ee6c79744743
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date: Wed Sep 9 19:42:52 2020 +0200
intel/tools: fix possible randomly increased verbosity of error2aub
Found by Coverity.
Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6667>
---
src/intel/tools/error2aub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c
index 48cd8a0666f..dda8e20191b 100644
--- a/src/intel/tools/error2aub.c
+++ b/src/intel/tools/error2aub.c
@@ -240,7 +240,7 @@ int
main(int argc, char *argv[])
{
int i, c;
- bool help = false, verbose;
+ bool help = false, verbose = false;
char *out_filename = NULL, *in_filename = NULL;
const struct option aubinator_opts[] = {
{ "help", no_argument, NULL, 'h' },
More information about the mesa-commit
mailing list