Skip to content

Commit

Permalink
Initialize a stack variable.
Browse files Browse the repository at this point in the history
...and hopefully fix the load failures in immediate modes.

Swift SVN r25121
  • Loading branch information
jrose-apple committed Feb 10, 2015
1 parent 0b1e8ec commit e9a590e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Immediate/Immediate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static bool loadSwiftRuntime(StringRef runtimeLibPath) {
static bool tryLoadLibrary(LinkLibrary linkLib,
SearchPathOptions searchPathOpts) {
llvm::SmallString<128> path = linkLib.getName();
bool success;
bool success = false;

// If we have an absolute or relative path, just try to load it now.
if (llvm::sys::path::has_parent_path(path.str())) {
Expand Down

0 comments on commit e9a590e

Please sign in to comment.