]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add brackets line 78 of make_dependencies.cc - supresses a compiler warning
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Mar 2013 07:37:39 +0000 (07:37 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 12 Mar 2013 07:37:39 +0000 (07:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@28862 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/make_dependencies.cc

index 800c2e7df9fab3b7afec3470e927496f9c9412e2..1e6e2bb2f6e2a9da41aa05a9b523ec4d6acf0b1e 100644 (file)
@@ -75,7 +75,7 @@ bool file_exists(const std::string & file)
   int error = stat (file.c_str(), &buf);
 
     return ((error == 0) &&
-           (buf.st_mode & S_IFMT == S_IFREG));
+           ((buf.st_mode & S_IFMT) == S_IFREG));
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.