|
2022-02-10
| ||
| 14:46 | • Closed ticket [0973bf04e6]: tkCanvText.c : clang says unused but set variable plus 9 other changes artifact: 0c553bd9da user: jan.nijtmans | |
|
2022-02-09
| ||
| 12:31 | Fix [0973bf04e6]: tkCanvText.c : clang says unused but set variable. Also re-structere case-statements, making better use of "default" check-in: 404938a991 user: jan.nijtmans tags: core-8-6-branch | |
| 10:19 | • New ticket [0973bf04e6] tkCanvText.c : clang says unused but set variable. artifact: f9c626a3d1 user: nab | |
| Ticket UUID: | 0973bf04e697e778a140a4b24f05c57fb71e766a | |||
| Title: | tkCanvText.c : clang says unused but set variable | |||
| Type: | Bug | Version: | trunk | |
| Submitter: | nab | Created on: | 2022-02-09 10:19:50 | |
| Subsystem: | 18. [text] | Assigned To: | jan.nijtmans | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2022-02-10 14:46:43 | |
| Resolution: | Fixed | Closed By: | jan.nijtmans | |
| Closed on: | 2022-02-10 14:46:43 | |||
| Description: |
Hi on line 725, leftX and topY variables are set but unused 725c725 < int width, height, fudge, i; --- > int leftX, topY, width, height, fudge, i; 746a747,748 > leftX = ROUND(textPtr->x); > topY = ROUND(textPtr->y); 758a761 > topY -= height; 764a768 > topY -= height / 2; 778a783 > leftX -= width; 784a790 > leftX -= width / 2; ++ | |||
| User Comments: |
jan.nijtmans added on 2022-02-10 14:46:43:
Clang is right here | |||