]> git.lyx.org Git - features.git/commitdiff
make sure that error_ is correctly initialized
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 18 Jan 2010 11:50:12 +0000 (11:50 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 18 Jan 2010 11:50:12 +0000 (11:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33083 a592a061-630c-0410-9148-cb99ea01b6c8

src/DispatchResult.h

index 5b209ff8f74923d1f87d81d7d81915c19e04e66d..1e65a23a9b8d8ef840d7bba9107ebc3437a9511f 100644 (file)
@@ -23,9 +23,11 @@ namespace lyx {
 class DispatchResult {
 public:
        ///
-       DispatchResult() : dispatched_(false), update_(Update::None) {}
+       DispatchResult() : dispatched_(false), error_(false), 
+                          update_(Update::None) {}
        ///
-       DispatchResult(bool disp, Update::flags f) : dispatched_(disp), update_(f) {}
+       DispatchResult(bool disp, Update::flags f) 
+               : dispatched_(disp), error_(false), update_(f) {}
        ///
        bool dispatched() const { return dispatched_; }
        ///