aboutsummaryrefslogtreecommitdiff
path: root/build2/diagnostics.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-05 16:17:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-05 16:17:10 +0200
commitf1b3c0e86daec1f5b7ed81a60edbe548fcbb5f42 (patch)
tree1d87d8960626f7128d797c00459061991931418a /build2/diagnostics.cxx
parent76de594667b370094f5da5c0871c155d788d135e (diff)
Work around bogus ubsan report
Diffstat (limited to 'build2/diagnostics.cxx')
-rw-r--r--build2/diagnostics.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/diagnostics.cxx b/build2/diagnostics.cxx
index b1f2796..f04751c 100644
--- a/build2/diagnostics.cxx
+++ b/build2/diagnostics.cxx
@@ -40,7 +40,7 @@ namespace build2
#else
__thread
#endif
- const diag_frame* diag_frame::stack;
+ const diag_frame* diag_frame::stack = nullptr;
// Diagnostic facility, project specifics.
//