Inspectors have cordoned off walls at several schools as a precaution following the death of a pupil in a PE block.

Edinburgh City Council ordered urgent checks at schools after 12-year-old Keane Wallis-Bennett was crushed by a wall at Liberton High.

The survey identified free-standing walls of the type involved in the tragedy in changing rooms and toilet facilities at two schools, Castlebrae High School and Leith Academy, while similar walls were found in 11 primary schools.

An Edinburgh City Council spokesman said: "No concerns were identified with the structure of any of these walls, although some areas have been cordoned off as a precaution until the end of term.

"The council will use the Easter holiday period to determine what, if any, further action is required."

Chief executive Sue Bruce said: "The council has taken immediate action and we are determined to provide reassurance to parents, pupils and the people of Edinburgh that we will do everything in our power to prevent anything like this happening again."

Scotland's political leaders offered their condolences to the family of the pupil.

Deputy First Minister Nicola Sturgeon, standing in for Alex Salmond at question time in Holyrood, said her thoughts are with those affected by the death.

"On behalf of the entire chamber, can I express my sincere condolences to the friends and family of Keane Wallis-Bennett," she said. "Keane's death is a tragedy that has horrified all of us. This has been a most difficult time for family, friends, pupils and staff at the school. I'm sure that all of our thoughts, and indeed the thoughts of people across Scotland, are with them."

Scottish Labour leader Johann Lamont said: "Right across the chamber we share the sentiments expressed there at the saddest of times for the family, and for the school and for all concerned."

Dozens of bright flowers, cuddly toys, cards and hand-written letters were placed under the entrance sign to Liberton High School by fellow pupils, family and friends.

Police and the Health and Safety Executive are investigating the pupil's death, the second tragedy to hit the school in recent months.

Jamie Skinner, 13, a pupil at Liberton High, died after collapsing on a football pitch while playing for Tynecastle FC at the end of last year.