Remove then branch of always false condition
ClosedPublic

Authored by sirgienko on Apr 5 2018, 3:28 PM.

Details

Summary

The condition in OctaveExpresssion::parseError never comes true, so remove then branch.

Diff Detail

Repository
R55 Cantor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sirgienko created this revision.Apr 5 2018, 3:28 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptApr 5 2018, 3:28 PM
Restricted Application added a subscriber: KDE Edu. · View Herald Transcript
sirgienko requested review of this revision.Apr 5 2018, 3:28 PM
asemke added a comment.Apr 5 2018, 7:14 PM

What about octave warnings? Are they written out to stderr by octave?

sirgienko added a comment.EditedApr 5 2018, 7:27 PM

What about octave warnings? Are they written out to stderr by octave?

Yes, the warnings write to stderr.

asemke accepted this revision.Apr 7 2018, 6:53 AM
This revision is now accepted and ready to land.Apr 7 2018, 6:53 AM
This revision was automatically updated to reflect the committed changes.