summaryrefslogtreecommitdiffstats
path: root/generic/tclOOCall.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-20 20:33:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-20 20:33:38 (GMT)
commit4fd6c4a2ac61ced8db53370deba9044e564db71e (patch)
tree6512cd33efb44204c0291c808857252ce6d0aee7 /generic/tclOOCall.c
parente9b622c840b2f32683865ba8b72892cdbcb34031 (diff)
downloadtcl-4fd6c4a2ac61ced8db53370deba9044e564db71e.zip
tcl-4fd6c4a2ac61ced8db53370deba9044e564db71e.tar.gz
tcl-4fd6c4a2ac61ced8db53370deba9044e564db71e.tar.bz2
Fix gcc warning: return should have value
Diffstat (limited to 'generic/tclOOCall.c')
-rw-r--r--generic/tclOOCall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c
index 23db75c..c421cad 100644
--- a/generic/tclOOCall.c
+++ b/generic/tclOOCall.c
@@ -1691,7 +1691,7 @@ AddPrivatesFromClassChainToCallContext(
tailRecurse:
if (classPtr == NULL) {
- return;
+ return 0;
}
FOREACH(superPtr, classPtr->mixins) {
if (AddPrivatesFromClassChainToCallContext(superPtr, contextCls,