diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 8ab4591..ad2ded5 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -1314,8 +1314,7 @@ static void addClassToContext(EntryNav *rootNav)
     {
       tagName     = tagInfo->tagName;
       refFileName = tagInfo->fileName;
-      int i;
-      if ((i=fullName.find("::"))!=-1) 
+      if ((fullName.find("::"))!=-1) 
         // symbols imported via tag files may come without the parent scope, 
         // so we artificially create it here
       {
