diff --git a/src/deemon/objects/type-operators.c b/src/deemon/objects/type-operators.c index 290f0dde0..ea31cb405 100644 --- a/src/deemon/objects/type-operators.c +++ b/src/deemon/objects/type-operators.c @@ -354,7 +354,7 @@ DEFINE_OPERATOR_INVOKE(operator_getbuf, NULL, &do_DeeType_InheritBuffer) { /* >> operator str(): string; * >> operator str(fp: File); */ DEFINE_OPERATOR_INVOKE(operator_str, &instance_str, &do_DeeType_InheritStr) { - DeeObject *fp; + DeeObject *fp = NULL; (void)p_self; (void)opname; if (DeeArg_Unpack(argc, argv, "|o:" OPNAME("str"), &fp)) @@ -372,7 +372,7 @@ DEFINE_OPERATOR_INVOKE(operator_str, &instance_str, &do_DeeType_InheritStr) { /* >> operator repr(): string; * >> operator repr(fp: File); */ DEFINE_OPERATOR_INVOKE(operator_repr, &instance_repr, &do_DeeType_InheritRepr) { - DeeObject *fp; + DeeObject *fp = NULL; (void)p_self; (void)opname; if (DeeArg_Unpack(argc, argv, "|o:" OPNAME("repr"), &fp))