https://bugs.kde.org/show_bug.cgi?id=392405

            Bug ID: 392405
           Summary: Function 'getImageIdsFromArea' argument order
                    different
           Product: digikam
           Version: unspecified
          Platform: unspecified
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Database
          Assignee: digikam-bugs-n...@kde.org
          Reporter: versa...@gmail.com
  Target Milestone: ---

Cppcheck found an issue with the order of the function arguments between
declaration and definition in latest git sources:
Id: funcArgOrderDifferent
Summary: Function 'getImageIdsFromArea' argument order different: declaration
'lat1, lng1, lat2, lng2, sortMode, sortBy' definition 'lat1, lat2, lng1, lng2,
, '

Declaration in coredb.h:
    QList<QVariant> getImageIdsFromArea(qreal lat1, qreal lng1, qreal lat2,
qreal lng2, int sortMode, const QString& sortBy);

Definition in coredb.cpp:
QList<QVariant> CoreDB::getImageIdsFromArea(qreal lat1, qreal lat2, qreal lng1,
qreal lng2, int /*sortMode*/,
                                             const QString& /*sortBy*/)

One of them must be wrong. I do not know if it results in an error currently,
but i guess it is better to fix it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to