Skip to content

Coverity 292488: Parse Warning #18

Description

@jeking3

https://scan4.coverity.com/reports.htm#v17121/p14875/fileInstanceId=45133314&defectInstanceId=8392322&mergedDefectId=292488
CID 292488 (#1 of 1): Parse warning (PW.PARAM_SET_BUT_NOT_USED)
param_set_but_not_used: parameter "g" was set but never used

void f(boost::function0<void> f, boost::function0<void> g)
{
  BOOST_STATIC_ASSERT((boost::is_same<boost::function0<void>, BOOST_TYPEOF(f = g)>::value));
}

Is this a bug or intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions