From 19ebc0c41656d36998838b5edce01cf280edc330 Mon Sep 17 00:00:00 2001 From: Marcel Greter Date: Tue, 23 Jun 2015 19:46:35 +0200 Subject: [PATCH] Improve deprecation handling in unquote function Fixes https://github.com/sass/libsass/issues/1291 --- functions.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/functions.cpp b/functions.cpp index 25b97a719b..e078a0feba 100644 --- a/functions.cpp +++ b/functions.cpp @@ -771,9 +771,6 @@ namespace Sass { if (dynamic_cast(arg)) { return new (ctx.mem) Null(pstate); } - else if (List* list = dynamic_cast(arg)) { - return list; - } else if (String_Quoted* string_quoted = dynamic_cast(arg)) { String_Constant* result = new (ctx.mem) String_Constant(pstate, string_quoted->value()); // remember if the string was quoted (color tokens)