reloptions.c: In function âextractRelOptionsâ: reloptions.c:731: warning: value computed is not used heapam.c: In function âheapgettupâ: heapam.c:458: warning: value computed is not used heapam.c:458: warning: value computed is not used heapam.c: In function âheapgettup_pagemodeâ: heapam.c:726: warning: value computed is not used heapam.c:726: warning: value computed is not used heapam.c: In function âheap_tuple_attr_equalsâ: heapam.c:2936: warning: value computed is not used heapam.c:2936: warning: value computed is not used heapam.c:2937: warning: value computed is not used heapam.c:2937: warning: value computed is not used tuptoaster.c: In function âtoast_fetch_datumâ: tuptoaster.c:1391: warning: value computed is not used tuptoaster.c:1393: warning: value computed is not used tuptoaster.c: In function âtoast_fetch_datum_sliceâ: tuptoaster.c:1607: warning: value computed is not used tuptoaster.c:1609: warning: value computed is not used heap.c: In function âMergeWithExistingConstraintâ: heap.c:2016: warning: value computed is not used aclchk.c: In function âExecGrant_Databaseâ: aclchk.c:1198: warning: value computed is not used aclchk.c:1198: warning: value computed is not used aclchk.c: In function âExecGrant_Tablespaceâ: aclchk.c:1918: warning: value computed is not used aclchk.c:1918: warning: value computed is not used aclchk.c: In function âpg_tablespace_aclmaskâ: aclchk.c:2751: warning: value computed is not used aclchk.c:2751: warning: value computed is not used parse_func.c: In function âParseFuncOrColumnâ: parse_func.c:76: warning: âdeclared_arg_typesâ may be used uninitialized in this function parse_func.c:80: warning: ânvargsâ may be used uninitialized in this function parse_func.c:79: warning: âretsetâ may be used uninitialized in this function parse_func.c:77: warning: âargdefaultsâ may be used uninitialized in this function parse_func.c:69: warning: âfuncidâ may be used uninitialized in this function parse_func.c:68: warning: ârettypeâ may be used uninitialized in this function dbcommands.c: In function âAlterDatabaseSetâ: dbcommands.c:1448: warning: value computed is not used dbcommands.c:1448: warning: value computed is not used dbcommands.c: In function âAlterDatabaseOwnerâ: dbcommands.c:1562: warning: value computed is not used dbcommands.c:1562: warning: value computed is not used proclang.c: In function âfind_language_templateâ: proclang.c:369: warning: value computed is not used proclang.c:369: warning: value computed is not used proclang.c:374: warning: value computed is not used proclang.c:374: warning: value computed is not used proclang.c:379: warning: value computed is not used proclang.c:379: warning: value computed is not used tablecmds.c: In function âdecompile_conbinâ: tablecmds.c:7006: warning: value computed is not used tablecmds.c:7006: warning: value computed is not used tablespace.c: In function âAlterTableSpaceOwnerâ: tablespace.c:883: warning: value computed is not used tablespace.c:883: warning: value computed is not used trigger.c: In function âRelationBuildTriggersâ: trigger.c:1183: warning: value computed is not used typecmds.c: In function âAlterDomainAddConstraintâ: typecmds.c:1948: warning: value computed is not used typecmds.c:1948: warning: value computed is not used typecmds.c: In function âGetDomainConstraintsâ: typecmds.c:2390: warning: value computed is not used user.c: In function âRenameRoleâ: user.c:1075: warning: value computed is not used user.c:1075: warning: value computed is not used spi.c: In function âSPI_getvalueâ: spi.c:786: warning: value computed is not used spi.c:786: warning: value computed is not used numeric.c: In function ânumericvar_to_int4â: numeric.c:2030: warning: âvalâ may be used uninitialized in this function numeric.c: In function ânumeric_int2â: numeric.c:2120: warning: âvalâ may be used uninitialized in this function numeric.c: In function ânumeric_int8â: numeric.c:2073: warning: âresultâ may be used uninitialized in this function ruleutils.c: In function âpg_get_triggerdefâ: ruleutils.c:570: warning: value computed is not used catcache.c: In function âCatalogCacheComputeTupleHashValueâ: catcache.c:231: warning: value computed is not used catcache.c:241: warning: value computed is not used catcache.c:251: warning: value computed is not used catcache.c:261: warning: value computed is not used catcache.c: In function âCatalogCacheFlushRelationâ: catcache.c:738: warning: value computed is not used catcache.c: In function âSearchCatCacheâ: catcache.c:1150: warning: value computed is not used catcache.c:1150: warning: value computed is not used catcache.c: In function âSearchCatCacheListâ: catcache.c:1400: warning: value computed is not used catcache.c:1400: warning: value computed is not used relcache.c: In function âRelationBuildRuleLockâ: relcache.c:649: warning: value computed is not used relcache.c:649: warning: value computed is not used relcache.c:660: warning: value computed is not used relcache.c:660: warning: value computed is not used relcache.c: In function âRelationInitIndexAccessInfoâ: relcache.c:1029: warning: value computed is not used relcache.c:1049: warning: value computed is not used relcache.c: In function âAttrDefaultFetchâ: relcache.c:2786: warning: value computed is not used relcache.c: In function âCheckConstraintFetchâ: relcache.c:2850: warning: value computed is not used relcache.c: In function âRelationGetIndexExpressionsâ: relcache.c:3092: warning: value computed is not used relcache.c:3092: warning: value computed is not used relcache.c: In function âRelationGetIndexPredicateâ: relcache.c:3159: warning: value computed is not used relcache.c:3159: warning: value computed is not used tuplesort.c: In function âcomparetup_heapâ: tuplesort.c:2615: warning: value computed is not used tuplesort.c:2615: warning: value computed is not used tuplesort.c:2616: warning: value computed is not used tuplesort.c:2616: warning: value computed is not used
This is the list of stuff that gcc reports in -Wall and -O3, which by default it doesn.t Some are probably worth looking at, knowing gcc from my own ground about 50% is going to be rather bogus, which still leaves few.
thanks
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers