Skip to content

Commit

Permalink
Remove unused function to silence a warning when compiling bazel.
Browse files Browse the repository at this point in the history
--
PiperOrigin-RevId: 146469548
MOS_MIGRATED_REVID=146469548
  • Loading branch information
meisterT authored and kchodorow committed Feb 6, 2017
1 parent 67a53d2 commit cc48e5b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/tools/linux-sandbox-pid1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,6 @@ static void SetupHelperFiles() {
}
}

static bool IsDirectory(const char *path) {
struct stat sb;
if (stat(path, &sb) < 0) {
DIE("stat(%s)", path);
}
return S_ISDIR(sb.st_mode);
}

// Recursively creates the file or directory specified in "path" and its parent
// directories.
static int CreateTarget(const char *path, bool is_directory) {
Expand Down

0 comments on commit cc48e5b

Please sign in to comment.