diff --git a/src/LaTeXFeatures.C b/src/LaTeXFeatures.C index 4333eb6d91..faf5df9b82 100644 --- a/src/LaTeXFeatures.C +++ b/src/LaTeXFeatures.C @@ -104,8 +104,6 @@ void LaTeXFeatures::getAvailable() packages_.push_back(name); } } - - return; } diff --git a/src/frontends/qt4/QMathMatrixDialog.C b/src/frontends/qt4/QMathMatrixDialog.C index b432eaca02..b9b050ba62 100644 --- a/src/frontends/qt4/QMathMatrixDialog.C +++ b/src/frontends/qt4/QMathMatrixDialog.C @@ -74,8 +74,6 @@ void QMathMatrixDialog::columnsChanged(int) h_align_str[nx] = '\0'; halignED->setText(h_align_str); - - return; } diff --git a/src/kbmap.C b/src/kbmap.C index fd55a7c5ff..5c197eb14a 100644 --- a/src/kbmap.C +++ b/src/kbmap.C @@ -281,11 +281,9 @@ void kb_keymap::defkey(kb_sequence * seq, newone->func = func; newone->func.origin = FuncRequest::KEYBOARD; newone->table.reset(); - return; } else { newone->table.reset(new kb_keymap); newone->table->defkey(seq, func, r + 1); - return; } } diff --git a/src/text.C b/src/text.C index 73f3c27148..10990823ba 100644 --- a/src/text.C +++ b/src/text.C @@ -1706,7 +1706,6 @@ void LyXText::setCursorFromCoordinates(LCursor & cur, int const x, int const y) << endl; setCursor(cur, pit, pos, true, bound); - return; }