Fix Windows warnings.
This fixes a number of trivial warnings in the Windows build. This is part of a larger effort to make the Windows build warning-free.
See http://reviews.llvm.org/D3914 for more details.
Change by Zachary Turner
llvm-svn: 209749
diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp
index 96f63ea..09ba8b4 100644
--- a/lldb/source/Target/Platform.cpp
+++ b/lldb/source/Target/Platform.cpp
@@ -530,6 +530,9 @@
rc_baton->error.SetErrorStringWithFormat("invalid file detected during copy: %s", src.GetPath().c_str());
return FileSpec::eEnumerateDirectoryResultQuit; // got an error, bail out
break;
+ default:
+ return FileSpec::eEnumerateDirectoryResultQuit; // unsupported file type, bail out
+ break;
}
}