Fix warnings regarding switches on enum values

This commit is contained in:
Yuriy Skalko 2020-11-25 20:27:35 +02:00
parent 0a8d3c9887
commit 11434df35d
2 changed files with 5 additions and 0 deletions

View File

@ -378,6 +378,9 @@ bool LyXComm::pipeServer()
if (!resetPipe(i, !success))
return false;
break;
case CONNECTING_STATE:
LYXERR0("Wrong pipe state");
break;
}
}

View File

@ -480,6 +480,8 @@ string const substituteIt<TransformOption>(string const & input,
case Resize:
ptr = store.getOptionTransformer(params.resizedata);
break;
case None:
break;
}
if (!ptr)