Revert "Eliminate compiler warning in object2.c."

This reverts commit 72c13a933e9e1bfd3294062098a27520c56cb98f.