Commit 25a1615
[PWGHF] Remove useless gapTypeToInt function and fix unused parameter warnings
- Remove gapTypeToInt pass-through function from utilsUpcHf.h
- Replace hf_upc::gapTypeToInt(gap) calls with gap directly in taskD0 and taskDplus
- Add /*tracks*/ comment to suppress unused parameter warnings in UPC process functions
The gapTypeToInt function was a no-op that simply returned its input unchanged.
As noted by @vkucera, this function serves no purpose since gap is already an int.
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent b2ba951 commit 25a1615
3 files changed
+6
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
| 614 | + | |
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
619 | 618 | | |
620 | 619 | | |
621 | 620 | | |
| |||
676 | 675 | | |
677 | 676 | | |
678 | 677 | | |
679 | | - | |
| 678 | + | |
680 | 679 | | |
681 | 680 | | |
682 | 681 | | |
| |||
1170 | 1169 | | |
1171 | 1170 | | |
1172 | 1171 | | |
1173 | | - | |
| 1172 | + | |
1174 | 1173 | | |
1175 | 1174 | | |
1176 | 1175 | | |
| |||
1183 | 1182 | | |
1184 | 1183 | | |
1185 | 1184 | | |
1186 | | - | |
| 1185 | + | |
1187 | 1186 | | |
1188 | 1187 | | |
1189 | 1188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | | - | |
| 751 | + | |
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
| |||
800 | 799 | | |
801 | 800 | | |
802 | 801 | | |
803 | | - | |
| 802 | + | |
804 | 803 | | |
805 | 804 | | |
806 | 805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 148 | | |
158 | 149 | | |
159 | 150 | | |
0 commit comments