Fix compiler warning

on MSVC 2010

Author: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
Peter Eisentraut 2017-04-07 17:37:12 -04:00
parent 0cb2e51992
commit 28afad5c85

View File

@ -610,8 +610,8 @@ getOwnedSequence(Oid relid, AttrNumber attnum)
elog(ERROR, "more than one owned sequence found");
else if (list_length(seqlist) < 1)
elog(ERROR, "no owned sequence found");
else
return linitial_oid(seqlist);
return linitial_oid(seqlist);
}
/*