[LyX/master] Fix nullptr warnings
Richard Kimberly Heck
rikiheck at lyx.org
Fri Feb 28 06:23:34 UTC 2020
commit 084baebbf9895a49b150e9d6a9b4338b1dd58cdd
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Fri Feb 28 01:28:08 2020 -0500
Fix nullptr warnings
---
src/Compare.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Compare.cpp b/src/Compare.cpp
index 214f25c..60a0b65 100644
--- a/src/Compare.cpp
+++ b/src/Compare.cpp
@@ -233,8 +233,8 @@ public:
Impl(Compare const & compare)
: abort_(false), n_(0), m_(0), offset_reverse_diagonal_(0),
odd_offset_(0), compare_(compare),
- old_buf_(0), new_buf_(0), dest_buf_(0), dest_pars_(0),
- recursion_level_(0), nested_inset_level_(0), D_(0)
+ old_buf_(nullptr), new_buf_(nullptr), dest_buf_(nullptr),
+ dest_pars_(nullptr), recursion_level_(0), nested_inset_level_(0), D_(0)
{}
///
More information about the lyx-cvs
mailing list