Skip to content

Commit b58fee0

Browse files
committed
Fix compiler warning by always returning a value.
Fixes: ``` ClangSharp/sources/libClangSharp/ClangSharp.cpp:5643:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 5643 | } ```
1 parent 7b70e92 commit b58fee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/libClangSharp/ClangSharp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5409,7 +5409,7 @@ CXCursor clangsharp_Type_getSubstTemplateTypeParamAssociatedDecl(CXType CT) {
54095409
return MakeCXCursor(STTPT->getAssociatedDecl(), GetTypeTU(CT));
54105410
}
54115411

5412-
clang_getNullCursor();
5412+
return clang_getNullCursor();
54135413
}
54145414

54155415
CXCursor clangsharp_Type_getOwnedTagDecl(CXType CT) {

0 commit comments

Comments
 (0)