aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/FileLexer.cpp.cvs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-03 19:34:28 +0000
committerChris Lattner <sabre@nondot.org>2006-03-03 19:34:28 +0000
commit56879b2d96417ca2e0e7473cec5bb66083a14e78 (patch)
tree0fdcea67df45201bf0b2d55afc43096067bc9489 /utils/TableGen/FileLexer.cpp.cvs
parente5d5595d36dac19f8bb59ab70e8c394972f5ae21 (diff)
Silence a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/FileLexer.cpp.cvs')
-rw-r--r--utils/TableGen/FileLexer.cpp.cvs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/FileLexer.cpp.cvs b/utils/TableGen/FileLexer.cpp.cvs
index f7f374c61c..aaa5237ce4 100644
--- a/utils/TableGen/FileLexer.cpp.cvs
+++ b/utils/TableGen/FileLexer.cpp.cvs
@@ -609,7 +609,7 @@ static void HandleInclude(const char *Buffer) {
std::string NextFilename;
for (unsigned i = 0, e = IncludeDirectories.size(); i != e; ++i) {
NextFilename = IncludeDirectories[i] + "/" + Filename;
- if (yyin = fopen(NextFilename.c_str(), "r"))
+ if ((yyin = fopen(NextFilename.c_str(), "r")))
break;
}