[GH-ISSUE #172] Painter/Xform2D: Return statement is never reached. #74

Closed
opened 2026-05-05 03:38:01 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ismail-yilmaz on GitHub (Nov 25, 2023).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/172

fb22b9b361/uppsrc/Painter/Xform2D.cpp (L34)

The above return statement in Xform2D::GetClass method is never reached.

Originally created by @ismail-yilmaz on GitHub (Nov 25, 2023). Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/172 https://github.com/ultimatepp/ultimatepp/blob/fb22b9b361df668b3290e815a0b91d5a2691d7f0/uppsrc/Painter/Xform2D.cpp#L34 The above return statement in Xform2D::GetClass method is never reached.
Author
Owner

@mirek-fidler commented on GitHub (Nov 27, 2023):

True. That said, GetClass does not seem to be used anywhere anyway, I vote
for completely removing it...

On Sat, Nov 25, 2023 at 4:30 PM İsmail Yılmaz @.***>
wrote:

fb22b9b361/uppsrc/Painter/Xform2D.cpp (L34)

The above return statement in Xform2D::GetClass method is never reached.


Reply to this email directly, view it on GitHub
https://github.com/ultimatepp/ultimatepp/issues/172, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARH236BH76MSZPH6XMFHQDYGIFJXAVCNFSM6AAAAAA72FKZM2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTANRZHEZTKMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

<!-- gh-comment-id:1827848639 --> @mirek-fidler commented on GitHub (Nov 27, 2023): True. That said, GetClass does not seem to be used anywhere anyway, I vote for completely removing it... On Sat, Nov 25, 2023 at 4:30 PM İsmail Yılmaz ***@***.***> wrote: > > https://github.com/ultimatepp/ultimatepp/blob/fb22b9b361df668b3290e815a0b91d5a2691d7f0/uppsrc/Painter/Xform2D.cpp#L34 > > The above return statement in Xform2D::GetClass method is never reached. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ultimatepp/ultimatepp/issues/172>, or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AARH236BH76MSZPH6XMFHQDYGIFJXAVCNFSM6AAAAAA72FKZM2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTANRZHEZTKMQ> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@ismail-yilmaz commented on GitHub (Nov 27, 2023):

True. That said, GetClass does not seem to be used anywhere anyway, I vote for completely removing it...

On Sat, Nov 25, 2023 at 4:30 PM İsmail Yılmaz @.> wrote: fb22b9b361/uppsrc/Painter/Xform2D.cpp (L34) The above return statement in Xform2D::GetClass method is never reached. — Reply to this email directly, view it on GitHub <#172>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARH236BH76MSZPH6XMFHQDYGIFJXAVCNFSM6AAAAAA72FKZM2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTANRZHEZTKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

I'm also fine with removing it. While I use Xform2D matrix a lot, I never needed the GetClass method either.

<!-- gh-comment-id:1828331010 --> @ismail-yilmaz commented on GitHub (Nov 27, 2023): > True. That said, GetClass does not seem to be used anywhere anyway, I vote for completely removing it... > […](#) > On Sat, Nov 25, 2023 at 4:30 PM İsmail Yılmaz ***@***.***> wrote: https://github.com/ultimatepp/ultimatepp/blob/fb22b9b361df668b3290e815a0b91d5a2691d7f0/uppsrc/Painter/Xform2D.cpp#L34 The above return statement in Xform2D::GetClass method is never reached. — Reply to this email directly, view it on GitHub <#172>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AARH236BH76MSZPH6XMFHQDYGIFJXAVCNFSM6AAAAAA72FKZM2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTANRZHEZTKMQ> . You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> I'm also fine with removing it. While I use Xform2D matrix a lot, I never needed the GetClass method either.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#74
No description provided.