]> git.lyx.org Git - lyx.git/blobdiff - src/Server.cpp
Remove unused Counters::copy
[lyx.git] / src / Server.cpp
index dfc932c67466f0ec1c5a8a3c2f3062be6680d326..79340492c6d62254beb78fcc8d03471b3ff5d3d2 100644 (file)
@@ -378,6 +378,9 @@ bool LyXComm::pipeServer()
                        if (!resetPipe(i, !success))
                                return false;
                        break;
+               case CONNECTING_STATE:
+                       LYXERR0("Wrong pipe state");
+                       break;
                }
        }
 
@@ -1000,7 +1003,7 @@ struct Sleep : QThread
 } // namespace
 
 
-bool LyXComm::loadFilesInOtherInstance()
+bool LyXComm::loadFilesInOtherInstance() const
 {
        int pipefd;
        FileName const pipe(inPipeName());