File build-checks.diff of Package openbabel

Index: src/formats/smilesformat.cpp
===================================================================
--- src/formats/smilesformat.cpp.orig
+++ src/formats/smilesformat.cpp
@@ -347,6 +347,7 @@ namespace OpenBabel {
       return result;
     }
 
+    return result;
   }
 
   std::vector<unsigned long> OBTetraPlanarStereo::ToShape(const std::vector<unsigned long> &refs, 
@@ -372,6 +373,7 @@ namespace OpenBabel {
       return result;
     }
 
+    return result;
   }
 
 
Index: src/fingerprints/finger3.cpp
===================================================================
--- src/fingerprints/finger3.cpp.orig
+++ src/fingerprints/finger3.cpp
@@ -217,7 +217,8 @@ public:
       int num =  ppat->numbits, div = ppat->numoccurrences+1, ngrp;
       while(num) //for each group of bits
       {
-        ngrp = (num + div -1)/div--; //rounds up
+        ngrp = (num + div -1)/div; //rounds up
+	div--;
         num -= ngrp;
         if(GetBit(fp, n) == bSet)
         {