Commit faba75f37a700db3103feb76326cf859e1a1b7f3
1 parent
e93ea97d
Shut up unused param warning using (void) thing instead
Showing
1 changed file
with
2 additions
and
3 deletions
sdk/openbr_plugin.h
| ... | ... | @@ -1108,13 +1108,12 @@ class BR_EXPORT TimeVaryingTransform : public Transform |
| 1108 | 1108 | virtual void project(const Template &src, Template &dst) const |
| 1109 | 1109 | { |
| 1110 | 1110 | qFatal("No const project defined for time-varying transform"); |
| 1111 | - // shut up unused param warning? probably a better way to handle this | |
| 1112 | - dst = src; | |
| 1111 | + (void) dst; (void) src; | |
| 1113 | 1112 | } |
| 1114 | 1113 | virtual void project(const TemplateList &src, TemplateList &dst) const |
| 1115 | 1114 | { |
| 1116 | 1115 | qFatal("No const project defined for time-varying transform"); |
| 1117 | - dst = src; | |
| 1116 | + (void) dst; (void) src; | |
| 1118 | 1117 | } |
| 1119 | 1118 | |
| 1120 | 1119 | ... | ... |