The glue might only be in a specific place where the carpet would not tension properly or there was no edge tacking eg inside a wardrobe.
Is the underlay rubber or foam? Unless its foam, over 12 years the ribbing on the rubber will have left marking on the varnish anyway, and where its been...