Return translation units from clang_createTranslationUnitFromSource()
if even they contain errors.

llvm-svn: 99594
diff --git a/clang/tools/CIndex/CIndex.cpp b/clang/tools/CIndex/CIndex.cpp
index 5a64caa..998fbbb 100644
--- a/clang/tools/CIndex/CIndex.cpp
+++ b/clang/tools/CIndex/CIndex.cpp
@@ -1078,9 +1078,8 @@
         // stderr and stdout in the file system, all with different buffers
         // but writing to the same device.
         fflush(stderr);
-#endif        
+#endif
       }
-      return 0;
     }
 
     return Unit.take();