Skip to content
Snippets Groups Projects
Commit c0235f2a authored by Kevin Funk's avatar Kevin Funk
Browse files

Minor: Fix warnings

parent fca35212
No related branches found
No related tags found
No related merge requests found
......@@ -610,6 +610,8 @@ bool TypeConversion::isAccessible(const ClassMemberDeclaration* decl) {
ConversionRank TypeConversion::ellipsisConversion( AbstractType::Ptr from, AbstractType::Ptr to )
{
Q_UNUSED(from);
if (TypeUtils::isVarArgs(to)) {
return ExactMatch;
}
......
......@@ -225,7 +225,6 @@ KDevelop::AbstractType::Ptr matchingClassPointer(const KDevelop::AbstractType::P
if(actualStructure) {
DUContext* internal = actualStructure->internalContext(topContext);
if(internal) {
typedef QPair<Declaration*, int> DeclarationDepthPair;
foreach(Declaration* decl, internal->findDeclarations(Cpp::castIdentifier().identifier(), CursorInRevision::invalid(), topContext, (DUContext::SearchFlags)(DUContext::DontSearchInParent | DUContext::NoFiltering))) {
FunctionType::Ptr funType = decl->type<FunctionType>();
if(funType && funType->returnType()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment