diff --git a/remotefilelog/ctreemanifest/py-treemanifest.cpp b/remotefilelog/ctreemanifest/py-treemanifest.cpp index 9b2f993ef9..6c776bc768 100644 --- a/remotefilelog/ctreemanifest/py-treemanifest.cpp +++ b/remotefilelog/ctreemanifest/py-treemanifest.cpp @@ -366,7 +366,6 @@ static PyObject *treemanifest_find(PyObject *o, PyObject *args) { std::string resultnode; char resultflag; try { - std::string rootpath; _treemanifest_find( std::string(filename, filenamelen), self->tm.rootNode,