Changeset 69046 in vbox for trunk/src/VBox/Runtime/common/math
- Timestamp:
- Oct 11, 2017 4:11:23 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118325
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/math/bignum.cpp
r65813 r69046 677 677 default: AssertFailed(); 678 678 #if RTBIGNUM_ELEMENT_SIZE == 8 679 /* fall thru */680 case 7: uLast = (uLast << 8) | pb[6]; /* fall thru */681 case 6: uLast = (uLast << 8) | pb[5]; /* fall thru */682 case 5: uLast = (uLast << 8) | pb[4]; /* fall thru */679 RT_FALL_THRU(); 680 case 7: uLast = (uLast << 8) | pb[6]; RT_FALL_THRU(); 681 case 6: uLast = (uLast << 8) | pb[5]; RT_FALL_THRU(); 682 case 5: uLast = (uLast << 8) | pb[4]; RT_FALL_THRU(); 683 683 case 4: uLast = (uLast << 8) | pb[3]; 684 684 #endif 685 /* fall thru */686 case 3: uLast = (uLast << 8) | pb[2]; /* fall thru */687 case 2: uLast = (uLast << 8) | pb[1]; /* fall thru */685 RT_FALL_THRU(); 686 case 3: uLast = (uLast << 8) | pb[2]; RT_FALL_THRU(); 687 case 2: uLast = (uLast << 8) | pb[1]; RT_FALL_THRU(); 688 688 case 1: uLast = (uLast << 8) | pb[0]; 689 689 } … … 716 716 default: AssertFailed(); 717 717 #if RTBIGNUM_ELEMENT_SIZE == 8 718 /* fall thru */719 case 7: uLast = (uLast << 8) | *pb++; /* fall thru */720 case 6: uLast = (uLast << 8) | *pb++; /* fall thru */721 case 5: uLast = (uLast << 8) | *pb++; /* fall thru */718 RT_FALL_THRU(); 719 case 7: uLast = (uLast << 8) | *pb++; RT_FALL_THRU(); 720 case 6: uLast = (uLast << 8) | *pb++; RT_FALL_THRU(); 721 case 5: uLast = (uLast << 8) | *pb++; RT_FALL_THRU(); 722 722 case 4: uLast = (uLast << 8) | *pb++; 723 723 #endif 724 /* fall thru */725 case 3: uLast = (uLast << 8) | *pb++; /* fall thru */726 case 2: uLast = (uLast << 8) | *pb++; /* fall thru */724 RT_FALL_THRU(); 725 case 3: uLast = (uLast << 8) | *pb++; RT_FALL_THRU(); 726 case 2: uLast = (uLast << 8) | *pb++; RT_FALL_THRU(); 727 727 case 1: uLast = (uLast << 8) | *pb++; 728 728 } … … 750 750 switch (pBigNum->cAllocated - pBigNum->cUsed) 751 751 { 752 default: AssertFailed(); /* fall thru */753 case 3: *puUnused++ = 0; /* fall thru */754 case 2: *puUnused++ = 0; /* fall thru */752 default: AssertFailed(); RT_FALL_THRU(); 753 case 3: *puUnused++ = 0; RT_FALL_THRU(); 754 case 2: *puUnused++ = 0; RT_FALL_THRU(); 755 755 case 1: *puUnused++ = 0; 756 756 }
Note:
See TracChangeset
for help on using the changeset viewer.