Skip to content

Commit db7d426

Browse files
committed
helpers: remove existss, unused internal function
1 parent b85eacd commit db7d426

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/shared/helpers.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ RC_UNUSED static const char *basename_c(const char *path)
124124
return (path);
125125
}
126126

127-
RC_UNUSED static bool existss(const char *pathname)
128-
{
129-
struct stat buf;
130-
131-
return (stat(pathname, &buf) == 0 && buf.st_size != 0);
132-
}
133-
134127
RC_UNUSED static FILE *do_fopenat(int dirfd, const char *pathname, int mode)
135128
{
136129
int fd = openat(dirfd, pathname, mode, 0666);

0 commit comments

Comments
 (0)