getinfo.c: Fixed compilation warning

The indicated statement is not reachable.
tool_operate.c: Fixed compilation warnings

An enumerated type is mixed with another type.
tool_urlglob.c: Fixed compilation warning

An enumerated type is mixed with another type.