Commit 1aa9a312ee39e3d6f84f373fe16dcc85cd40f13f
1 parent
9d771c54
cleaned up whitespace and warnings
Showing
2 changed files
with
3 additions
and
7 deletions
.gitignore
sdk/plugins/pp5.cpp
| @@ -32,7 +32,6 @@ | @@ -32,7 +32,6 @@ | ||
| 32 | 32 | ||
| 33 | using namespace br; | 33 | using namespace br; |
| 34 | 34 | ||
| 35 | - | ||
| 36 | /*! | 35 | /*! |
| 37 | * \ingroup initializers | 36 | * \ingroup initializers |
| 38 | * \brief Initialize PP5 | 37 | * \brief Initialize PP5 |
| @@ -208,7 +207,6 @@ struct PP5Context | @@ -208,7 +207,6 @@ struct PP5Context | ||
| 208 | } | 207 | } |
| 209 | }; | 208 | }; |
| 210 | 209 | ||
| 211 | - | ||
| 212 | /*! | 210 | /*! |
| 213 | * \ingroup transforms | 211 | * \ingroup transforms |
| 214 | * \brief Enroll faces in PP5 | 212 | * \brief Enroll faces in PP5 |
| @@ -269,8 +267,6 @@ class PP5Enroll : public UntrainableTransform | @@ -269,8 +267,6 @@ class PP5Enroll : public UntrainableTransform | ||
| 269 | 267 | ||
| 270 | BR_REGISTER(Transform, PP5Enroll) | 268 | BR_REGISTER(Transform, PP5Enroll) |
| 271 | 269 | ||
| 272 | - | ||
| 273 | - | ||
| 274 | /*! | 270 | /*! |
| 275 | * \ingroup distances | 271 | * \ingroup distances |
| 276 | * \brief Compare templates with PP5 | 272 | * \brief Compare templates with PP5 |
| @@ -283,9 +279,10 @@ class PP5Compare : public Distance | @@ -283,9 +279,10 @@ class PP5Compare : public Distance | ||
| 283 | { | 279 | { |
| 284 | Q_OBJECT | 280 | Q_OBJECT |
| 285 | 281 | ||
| 286 | - | ||
| 287 | float compare(const Template &target, const Template &query) const | 282 | float compare(const Template &target, const Template &query) const |
| 288 | { | 283 | { |
| 284 | + (void) target; | ||
| 285 | + (void) query; | ||
| 289 | qFatal("PP5Compare: _compare should never be called"); | 286 | qFatal("PP5Compare: _compare should never be called"); |
| 290 | return 0; | 287 | return 0; |
| 291 | } | 288 | } |
| @@ -341,6 +338,4 @@ class PP5Compare : public Distance | @@ -341,6 +338,4 @@ class PP5Compare : public Distance | ||
| 341 | 338 | ||
| 342 | BR_REGISTER(Distance, PP5Compare) | 339 | BR_REGISTER(Distance, PP5Compare) |
| 343 | 340 | ||
| 344 | - | ||
| 345 | - | ||
| 346 | #include "plugins/pp5.moc" | 341 | #include "plugins/pp5.moc" |