Commit 0034448d2ed3c53ffc16939d369e7a30c9b8f0cc

Authored by Josh Klontz
1 parent 7685e92f

fixed some unused variable warnings

openbr/core/eval.cpp
... ... @@ -303,7 +303,6 @@ float InplaceEval(const QString & simmat, const QString & target, const QString
303 303  
304 304 // Check format
305 305 QByteArray format = file.readLine();
306   - bool isDistance = (format[0] == 'D');
307 306 if (format[1] != '2') qFatal("Invalid matrix header.");
308 307  
309 308 // Read sigset names, we dont' care if they are valid, just want to advance the file pointer.
... ... @@ -319,15 +318,11 @@ float InplaceEval(const QString & simmat, const QString & target, const QString
319 318 qint64 typeSize = isMask ? sizeof(BEE::Mask_t) : sizeof(BEE::Simmat_t);
320 319  
321 320 // Get matrix data
322   - qint64 bytesExpected = rows*cols*typeSize;
323   -
324 321 qint64 rowSize = cols * typeSize;
325 322  
326 323 // after reading the header, we are at the start of the matrix data
327 324 qint64 data_pos = file.pos();
328 325  
329   - qint64 totalSize = data_pos + bytesExpected;
330   -
331 326 // Map each unique label to a list of positions in the gallery
332 327 QMap<QString, QList<qint64> > galleryIndices;
333 328  
... ...
openbr/plugins/misc.cpp
... ... @@ -703,7 +703,7 @@ class FileExclusionTransform : public UntrainableMetaTransform
703 703  
704 704 QSet<QString> excluded;
705 705  
706   - void project(const Template & src, Template & dst) const
  706 + void project(const Template &, Template &) const
707 707 {
708 708 qFatal("FileExclusion can't do anything here");
709 709 }
... ...