]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Initialize "result" variable on declaration for abstract methods only
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 3 Jan 2022 12:59:36 +0000 (13:59 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 3 Jan 2022 12:59:36 +0000 (13:59 +0100)
commit9adade648eacc354cc6f4cf55f00e537a58d136f
treec4f919f7fda8250a3151b781707cf156260452b0
parent29470dbcfc149d241886dcecb7fd6f4207dc7917
codegen: Initialize "result" variable on declaration for abstract methods only
207 files changed:
codegen/valaccodemethodmodule.vala
tests/annotations/deprecated.c-expected
tests/arrays/cast-struct-boxed-element-access.c-expected
tests/arrays/empty-length-0.c-expected
tests/asynchronous/bug654337.c-expected
tests/asynchronous/bug777242.c-expected
tests/asynchronous/generator.c-expected
tests/basic-types/array-uint8-uchar-compat.c-expected
tests/basic-types/arrays-generics.c-expected
tests/basic-types/arrays.c-expected
tests/basic-types/bug571486.c-expected
tests/basic-types/bug650993.c-expected
tests/basic-types/bug686336.c-expected
tests/basic-types/bug731017.c-expected
tests/basic-types/bug761736.c-expected
tests/basic-types/floats.c-expected
tests/basic-types/garray.c-expected
tests/basic-types/glists.c-expected
tests/basic-types/glists_remove.c-expected
tests/basic-types/gptrarray.c-expected
tests/basic-types/integers.c-expected
tests/basic-types/pointers.c-expected
tests/basic-types/strings.c-expected
tests/bindings/gio/memoryoutputstream.c-expected
tests/chainup/class-compact-base.c-expected
tests/chainup/no-chainup.c-expected
tests/chainup/struct-no-gtype-base.c-expected
tests/chainup/struct-simple-no-gtype-base.c-expected
tests/control-flow/assigned-local-variable.c-expected
tests/control-flow/break.c-expected
tests/control-flow/bug628336.c-expected
tests/control-flow/bug639482.c-expected
tests/control-flow/bug691514.c-expected
tests/control-flow/bug736774-1.c-expected
tests/control-flow/bug736774-2.c-expected
tests/control-flow/bug761267-1.c-expected
tests/control-flow/bug761267-2.c-expected
tests/control-flow/coalesce-as-argument.c-expected
tests/control-flow/coalesce-execution-order.c-expected
tests/control-flow/coalesce-reference-transfer.c-expected
tests/control-flow/conditional-as-argument.c-expected
tests/control-flow/expressions-conditional.c-expected
tests/control-flow/sideeffects.c-expected
tests/control-flow/switch-enum.c-expected
tests/control-flow/switch-string.c-expected
tests/control-flow/switch.c-expected
tests/dbus/arrays_server.c-expected
tests/dbus/async-bus_server.c-expected
tests/dbus/async-connection_server.c-expected
tests/dbus/async-no-reply_client.c-expected
tests/dbus/basic-types_server.c-expected
tests/dbus/bug602003_server.c-expected
tests/dbus/bug735437_server.c-expected
tests/dbus/bug782719_server.c-expected
tests/dbus/bug783002_server.c-expected
tests/dbus/connection_server.c-expected
tests/dbus/dicts_server.c-expected
tests/dbus/dynamic-method_server.c-expected
tests/dbus/filedescriptor_server.c-expected
tests/dbus/generics_client.c-expected
tests/dbus/generics_server.c-expected
tests/dbus/no-reply_client.c-expected
tests/dbus/no-reply_server.c-expected
tests/dbus/rawvariants_server.c-expected
tests/delegates/bug638415.c-expected
tests/delegates/bug639751.c-expected
tests/delegates/bug659778.c-expected
tests/delegates/bug761360.c-expected
tests/delegates/bug792077.c-expected
tests/delegates/delegates.c-expected
tests/delegates/error-pos.c-expected
tests/delegates/gclosure-conversion.c-expected
tests/delegates/implicit-local-variable.c-expected
tests/delegates/lambda-mixed-instance-static.c-expected
tests/delegates/member-target-destroy.c-expected
tests/delegates/return-array-null-terminated.c-expected
tests/enums/bug614424.c-expected
tests/enums/bug666035.c-expected
tests/enums/enums.c-expected
tests/errors/bug579101.c-expected
tests/errors/bug627090.c-expected
tests/errors/bug762377.c-expected
tests/errors/bug778224.c-expected
tests/errors/errordomain-static-method.c-expected
tests/errors/errors.c-expected
tests/generics/bug640330.c-expected
tests/generics/bug694765-1.c-expected
tests/generics/inference-argument-may-fail.c-expected
tests/generics/inference-static-function.c-expected
tests/generics/integer-type-cast-return.c-expected
tests/generics/value-pointer-type-access.c-expected
tests/genie/class-signal.c-expected
tests/genie/function-returns-closure.c-expected
tests/genie/function-with-return-value.c-expected
tests/genie/init-int.c-expected
tests/genie/interface.c-expected
tests/genie/literal-template-string.c-expected
tests/methods/argument-array-initilizer.c-expected
tests/methods/array-length-type.c-expected
tests/methods/bug596726.c-expected
tests/methods/bug613483.c-expected
tests/methods/bug622570.c-expected
tests/methods/bug626783.c-expected
tests/methods/bug639054.c-expected
tests/methods/bug642350.c-expected
tests/methods/bug642885.c-expected
tests/methods/bug642899.c-expected
tests/methods/bug646345.c-expected
tests/methods/bug648320.c-expected
tests/methods/bug649562.c-expected
tests/methods/bug652098.c-expected
tests/methods/bug653391.c-expected
tests/methods/bug653908.c-expected
tests/methods/bug663210.c-expected
tests/methods/bug699956.c-expected
tests/methods/bug723009.c-expected
tests/methods/bug723195.c-expected
tests/methods/bug726347.c-expected
tests/methods/bug737222.c-expected
tests/methods/bug771964.c-expected
tests/methods/bug774060.c-expected
tests/methods/bug784691.c-expected
tests/methods/bug791283.c-expected
tests/methods/closures.c-expected
tests/methods/contains.c-expected
tests/methods/delegate-target.c-expected
tests/methods/generics.c-expected
tests/methods/iterator.c-expected
tests/methods/lambda.c-expected
tests/methods/local-functions.c-expected
tests/methods/nowrapper-interface.c-expected
tests/methods/parameter-ref-delegate.c-expected
tests/methods/postconditions-temp-variables.c-expected
tests/methods/postconditions.c-expected
tests/methods/preconditions-temp-variables.c-expected
tests/methods/prepostconditions-captured.c-expected
tests/methods/prepostconditions-contains.c-expected
tests/methods/prepostconditions.c-expected
tests/methods/print-attribute.c-expected
tests/methods/profile.c-expected
tests/methods/return-unowned-delegate.c-expected
tests/methods/same-name.c-expected
tests/methods/varargs-delegate-without-target.c-expected
tests/methods/varargs-delegate.c-expected
tests/methods/varargs-out.c-expected
tests/namespace/unique.c-expected
tests/objects/bug597155.c-expected
tests/objects/bug634782.c-expected
tests/objects/bug641828.c-expected
tests/objects/bug646362.c-expected
tests/objects/bug663134.c-expected
tests/objects/bug681356.c-expected
tests/objects/bug695671.c-expected
tests/objects/bug741465.c-expected
tests/objects/bug758816.c-expected
tests/objects/class-new-no-override.c-expected
tests/objects/classes-implicit-implementation.c-expected
tests/objects/classes-interfaces-virtuals.c-expected
tests/objects/classes-interfaces.c-expected
tests/objects/compact-class-custom-ref.c-expected
tests/objects/compact-class-destructor.c-expected
tests/objects/gsource.c-expected
tests/objects/interface-generics.c-expected
tests/objects/interface-property-base-access.c-expected
tests/objects/interface-virtual-override.c-expected
tests/objects/interfaces.c-expected
tests/objects/member-initializer-chained.c-expected
tests/objects/methods.c-expected
tests/objects/plugin-module-init.c-expected
tests/objects/properties.c-expected
tests/objects/property-delegate.c-expected
tests/objects/property-real-struct-assignment.c-expected
tests/objects/regex.c-expected
tests/objects/signals-delegate.c-expected
tests/objects/signals-fundamental-return.c-expected
tests/objects/signals-generic-return.c-expected
tests/objects/signals-gobject-return.c-expected
tests/objects/signals-prototype-access.c-expected
tests/objects/signals-struct-return.c-expected
tests/objects/signals.c-expected
tests/objects/test-025.c-expected
tests/objects/test-026.c-expected
tests/objects/test-029.c-expected
tests/objects/type-narrowing-fallback.c-expected
tests/objects/with-expression.c-expected
tests/objects/with-nested-in-lambda.c-expected
tests/objects/with-nested-method.c-expected
tests/objects/with-nested-signal.c-expected
tests/objects/with-nested-unambigous-signal.c-expected
tests/objects/with-nested.c-expected
tests/ordering/delegate-class.c-expected
tests/parser/template.c-expected
tests/parser/with-embedded.c-expected
tests/posix/arrays.c-expected
tests/posix/empty-length-0.c-expected
tests/posix/string-concat.c-expected
tests/resolver/peek-inner-types.c-expected
tests/semantic/class-opaque.c-expected
tests/semantic/floating-reference-base-method.c-expected
tests/semantic/floating-reference-error.c-expected
tests/semantic/floating-reference.c-expected
tests/semantic/with-string.c-expected
tests/structs/bug657378.c-expected
tests/structs/cast-struct-boxed.c-expected
tests/structs/gvalue-implicit-comparison.c-expected
tests/structs/gvalue.c-expected
tests/structs/simple-type-default-value.c-expected