Ticket #45673

sdl2: add_widget_to_vertical_scroll_widget_list() dead assignment of 'count'

Open Date: 2022-09-20 18:04 Last Update: 2022-09-26 13:23

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

As reported by clang analyzer (from S3_0) add_widget_to_vertical_scroll_widget_list() has an unused assignment of 'count = 0;'

That variable is not used as a counter to increase, but the actual values used are assigned to it whole.

Ticket History (3/5 Histories)

2022-09-20 18:04 Updated by: cazfi
  • New Ticket "sdl2: add_widget_to_vertical_scroll_widget_list() dead assignment of 'count'" created
2022-09-21 02:34 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-09-26 13:23 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login