Commit faba75f37a700db3103feb76326cf859e1a1b7f3

Authored by Charles Otto
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,13 +1108,12 @@ class BR_EXPORT TimeVaryingTransform : public Transform
1108 virtual void project(const Template &src, Template &dst) const 1108 virtual void project(const Template &src, Template &dst) const
1109 { 1109 {
1110 qFatal("No const project defined for time-varying transform"); 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 virtual void project(const TemplateList &src, TemplateList &dst) const 1113 virtual void project(const TemplateList &src, TemplateList &dst) const
1115 { 1114 {
1116 qFatal("No const project defined for time-varying transform"); 1115 qFatal("No const project defined for time-varying transform");
1117 - dst = src; 1116 + (void) dst; (void) src;
1118 } 1117 }
1119 1118
1120 1119