I'm getting the following compiler warning (using nondefault
optimization options):
objectaddress.c: In function 'read_objtype_from_string':
objectaddress.c:2309:9: error: 'type' may be used uninitialized in this
function [-Werror=maybe-uninitialized] return type;
The comment for the function says
* Return ObjectType for the given object type as given by* getObjectTypeDescription; if no valid ObjectType code
exists,but it's a* possible output type from getObjectTypeDescription, return -1.
But the claim that it can return -1 does not seem supported by the code.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services