llvm-readobj: remove some dead code
[oota-llvm.git] / tools / bugpoint / BugDriver.cpp
index e4f66ed5b31ea06de30bdaf2b900443268578dda..cecccbe0f0ef52268d7425aa67be4a73c92f96fc 100644 (file)
@@ -116,7 +116,7 @@ Module *llvm::ParseInputFile(const std::string &Filename,
 // parsed), and false on success.
 //
 bool BugDriver::addSources(const std::vector<std::string> &Filenames) {
-  assert(Program == 0 && "Cannot call addSources multiple times!");
+  assert(!Program && "Cannot call addSources multiple times!");
   assert(!Filenames.empty() && "Must specify at least on input filename!");
 
   // Load the first input file.