Fix assert. Thanks, Timur!

This commit is contained in:
Axel Naumann 2014-04-16 09:07:32 +02:00 committed by sftnight
parent cc04f68f1d
commit 164686caf1

View File

@ -967,7 +967,7 @@ namespace cling {
case DynamicLibraryManager::kLoadLibAlreadyLoaded: case DynamicLibraryManager::kLoadLibAlreadyLoaded:
return kSuccess; return kSuccess;
case DynamicLibraryManager::kLoadLibNotFound: case DynamicLibraryManager::kLoadLibNotFound:
assert("Cannot find library with existing canonical name!"); assert(0 && "Cannot find library with existing canonical name!");
return kFailure; return kFailure;
default: default:
// Not a source file (canonical name is non-empty) but can't load. // Not a source file (canonical name is non-empty) but can't load.