From 08110eb10f79718adecbbaf7eb4696a434813743 Mon Sep 17 00:00:00 2001 From: "rjc%netscape.com" Date: Tue, 23 Nov 1999 04:47:38 +0000 Subject: [PATCH] Get rid of a warning. --- content/xul/templates/src/nsXULSortService.cpp | 1 - rdf/content/src/nsXULSortService.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/content/xul/templates/src/nsXULSortService.cpp b/content/xul/templates/src/nsXULSortService.cpp index 04416eb1f865..46580e7f5656 100644 --- a/content/xul/templates/src/nsXULSortService.cpp +++ b/content/xul/templates/src/nsXULSortService.cpp @@ -1391,7 +1391,6 @@ XULSortServiceImpl::SortTreeChildren(nsIContent *container, sortPtr sortInfo) if (NS_FAILED(rv = child->GetNameSpaceID(nameSpaceID))) continue; if (nameSpaceID != kNameSpaceID_XUL) continue; - nsCOMPtr tag; if (NS_FAILED(rv = child->GetTag(*getter_AddRefs(tag)))) continue; if (tag.get() != kTreeChildrenAtom) continue; diff --git a/rdf/content/src/nsXULSortService.cpp b/rdf/content/src/nsXULSortService.cpp index 04416eb1f865..46580e7f5656 100644 --- a/rdf/content/src/nsXULSortService.cpp +++ b/rdf/content/src/nsXULSortService.cpp @@ -1391,7 +1391,6 @@ XULSortServiceImpl::SortTreeChildren(nsIContent *container, sortPtr sortInfo) if (NS_FAILED(rv = child->GetNameSpaceID(nameSpaceID))) continue; if (nameSpaceID != kNameSpaceID_XUL) continue; - nsCOMPtr tag; if (NS_FAILED(rv = child->GetTag(*getter_AddRefs(tag)))) continue; if (tag.get() != kTreeChildrenAtom) continue;