Skip to content

Commit 1106fd2

Browse files
committed
fix: unreachable code warnings
1 parent aa9b478 commit 1106fd2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/module.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2382,7 +2382,6 @@ namespace py3lm {
23822382
return nullptr;
23832383
}
23842384
}
2385-
return nullptr;
23862385
}
23872386

23882387
PyObject* MakeExternalCallWithObject(const Property& retType, JitCall::CallingFunc func, const ArgsScope& a, Return& ret) {
@@ -2570,7 +2569,6 @@ namespace py3lm {
25702569
return nullptr;
25712570
}
25722571
}
2573-
return nullptr;
25742572
}
25752573

25762574
bool PushObjectAsParam(const Property& paramType, PyObject* pItem, ArgsScope& a) {
@@ -2678,8 +2676,6 @@ namespace py3lm {
26782676
return false;
26792677
}
26802678
}
2681-
2682-
return false;
26832679
}
26842680

26852681
bool PushObjectAsRefParam(const Property& paramType, PyObject* pItem, ArgsScope& a) {
@@ -2779,8 +2775,6 @@ namespace py3lm {
27792775
return false;
27802776
}
27812777
}
2782-
2783-
return false;
27842778
}
27852779

27862780
PyObject* StorageValueToEnumObject(const Property& paramType, const ArgsScope& a, size_t index) {

0 commit comments

Comments
 (0)