]> granicus.if.org Git - clang/commitdiff
Silence dead store warning. It is conceptually possible we will
authorTed Kremenek <kremenek@apple.com>
Fri, 12 Oct 2012 22:56:33 +0000 (22:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 12 Oct 2012 22:56:33 +0000 (22:56 +0000)
add more code that references SourceFile, so removing the dead store
doesn't seem appropriate for the long term.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165837 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/SourceManager.cpp

index 65bd601eeaf09b322b856498d16b0f1fa85d4ab5..eefaacc7c3dbac7a18e22fddf1a1a6c05e88c3e5 100644 (file)
@@ -1577,6 +1577,7 @@ FileID SourceManager::translateFile(const FileEntry *SourceFile) const {
     }      
   }
   
+  (void) SourceFile;
   return FirstFID;
 }