Skip to content

Commit

Permalink
rm duplicate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehds committed May 15, 2024
1 parent 8baf6d1 commit 9f61626
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/butil/process_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

// Date: Wed Apr 11 14:35:56 CST 2018

#include <cstddef>
#include <cstring>
#include <fcntl.h> // open
#include <stdio.h> // snprintf
#include <sys/types.h>
Expand Down Expand Up @@ -90,9 +88,6 @@ ssize_t ReadCommandLine(char* buf, size_t len, bool with_args) {
}
}

// Get absolute path of this program.
// Returns length of the absolute path on sucess, -1 otherwise.
// NOTE: `buf' does not end with zero.
ssize_t GetProcessAbsolutePath(char *buf, size_t len) {
#if defined(OS_LINUX)
memset(buf, 0, len);
Expand Down

0 comments on commit 9f61626

Please sign in to comment.