Peter,

Can you perhaps initialize the variable 'address' to suppress the warning?  
Thanks.

Mark Dilger

tablecmds.c:5984:6: warning: variable 'address' is used uninitialized whenever 
'if' condition is false [-Wsometimes-uninitialized]
        if (generatedEl)
            ^~~~~~~~~~~
tablecmds.c:5999:9: note: uninitialized use occurs here
        return address;
               ^~~~~~~
tablecmds.c:5984:2: note: remove the 'if' if its condition is always true
        if (generatedEl)
        ^~~~~~~~~~~~~~~~
tablecmds.c:5936:2: note: variable 'address' is declared here
        ObjectAddress address;
        ^



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to