GCC is warning that typestr maybe used uninitialized in QoreReflectionMethod::setType in
modules/reflection/src/QC_AbstractMethod.qpp .
typestr is set in the switch(type) but it does not list all possible enum values for
method_type_e, so MT_Pseudo would cause a possible random printout. It also does not
set a value for the default case, GCC still warns that typestr can be used uninitialized
even if all enum values are listed.
GCC is warning that typestr maybe used uninitialized in QoreReflectionMethod::setType in modules/reflection/src/QC_AbstractMethod.qpp . typestr is set in the switch(type) but it does not list all possible enum values for method_type_e, so MT_Pseudo would cause a possible random printout. It also does not set a value for the default case, GCC still warns that typestr can be used uninitialized even if all enum values are listed.