Skip to content

Commit 7e29875

Browse files
nschonnimgreter
authored andcommitted
Remove unused noPosition declaration
1 parent df1faa3 commit 7e29875

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/extend.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ namespace Sass {
282282
static bool parentSuperselector(Complex_Selector_Ptr pOne, Complex_Selector_Ptr pTwo) {
283283
// TODO: figure out a better way to create a Complex_Selector from scratch
284284
// TODO: There's got to be a better way. This got ugly quick...
285-
Position noPosition(-1, -1, -1);
286285
Element_Selector_Obj fakeParent = SASS_MEMORY_NEW(Element_Selector, ParserState("[FAKE]"), "temp");
287286
Compound_Selector_Obj fakeHead = SASS_MEMORY_NEW(Compound_Selector, ParserState("[FAKE]"), 1 /*size*/);
288287
fakeHead->elements().push_back(fakeParent);
@@ -643,7 +642,6 @@ namespace Sass {
643642
static bool parentSuperselector(const Node& one, const Node& two) {
644643
// TODO: figure out a better way to create a Complex_Selector from scratch
645644
// TODO: There's got to be a better way. This got ugly quick...
646-
Position noPosition(-1, -1, -1);
647645
Element_Selector_Obj fakeParent = SASS_MEMORY_NEW(Element_Selector, ParserState("[FAKE]"), "temp");
648646
Compound_Selector_Obj fakeHead = SASS_MEMORY_NEW(Compound_Selector, ParserState("[FAKE]"), 1 /*size*/);
649647
fakeHead->elements().push_back(fakeParent);

src/node.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ namespace Sass {
232232
NodeDeque& childNodes = *toConvert.collection();
233233

234234
std::string noPath("");
235-
Position noPosition(-1, -1, -1);
236235
Complex_Selector_Obj pFirst = SASS_MEMORY_NEW(Complex_Selector, ParserState("[NODE]"), Complex_Selector::ANCESTOR_OF, NULL, NULL);
237236

238237
Complex_Selector_Obj pCurrent = pFirst;

0 commit comments

Comments
 (0)