It would have to be an exceptional cicumstance for the above to happen. It is usually the other way round - if the airbag warning is on, potentially it might not go off in an accident. Probably best to get it checked out all the same though, probably just a loose wire.