Depends on the amp, if it is a solid state amp, it will most likely be fine. Tube amps have to have a load. What kind of amp is it? Check the manual, it should say "do not use without a speaker load connected" or something like that if it will hurt it.
Roger
Roger