commit 11434df35d4637f77898ce987edfa32493d3ffae
Author: Yuriy Skalko <[email protected]>
Date:   Wed Nov 25 20:27:35 2020 +0200

    Fix warnings regarding switches on enum values
---
 src/Server.cpp                 |    3 +++
 src/insets/ExternalSupport.cpp |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/Server.cpp b/src/Server.cpp
index dfc932c..fe50392 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -378,6 +378,9 @@ bool LyXComm::pipeServer()
                        if (!resetPipe(i, !success))
                                return false;
                        break;
+               case CONNECTING_STATE:
+                       LYXERR0("Wrong pipe state");
+                       break;
                }
        }
 
diff --git a/src/insets/ExternalSupport.cpp b/src/insets/ExternalSupport.cpp
index 24a228c..33c14d3 100644
--- a/src/insets/ExternalSupport.cpp
+++ b/src/insets/ExternalSupport.cpp
@@ -480,6 +480,8 @@ string const substituteIt<TransformOption>(string const & 
input,
        case Resize:
                ptr = store.getOptionTransformer(params.resizedata);
                break;
+       case None:
+               break;
        }
 
        if (!ptr)
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to