Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3497)

Issue 231370043: Issue 4369: silence warning in page-breaking.cc (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years ago by Dan Eble
Modified:
8 years, 12 months ago
Reviewers:
dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Patch Set 1 #

Total comments: 3

Patch Set 2 : revert beaming-pattern.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M lily/page-breaking.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
Dan Eble
I noticed these recently and it seemed appropriate to fix them this way.
9 years ago (2015-05-04 23:49:14 UTC) #1
dak
https://codereview.appspot.com/231370043/diff/1/lily/beaming-pattern.cc File lily/beaming-pattern.cc (right): https://codereview.appspot.com/231370043/diff/1/lily/beaming-pattern.cc#newcode170 lily/beaming-pattern.cc:170: int start_dur = intlog2(static_cast<int>(infos_[i+1].start_moment_.main_part_.den())); intlog2(0) aborts the program. So ...
9 years ago (2015-05-05 00:11:07 UTC) #2
Dan Eble
https://codereview.appspot.com/231370043/diff/1/lily/beaming-pattern.cc File lily/beaming-pattern.cc (right): https://codereview.appspot.com/231370043/diff/1/lily/beaming-pattern.cc#newcode170 lily/beaming-pattern.cc:170: int start_dur = intlog2(static_cast<int>(infos_[i+1].start_moment_.main_part_.den())); On 2015/05/05 00:11:06, dak wrote: ...
9 years ago (2015-05-05 00:30:05 UTC) #3
Dan Eble
9 years ago (2015-05-05 01:33:16 UTC) #4
revert beaming-pattern.cc
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b