Skip to content

Commit

Permalink
pkgutil.{cpp,h}: remove unused itos()
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Jan 14, 2024
1 parent 1abb6d5 commit 0eca0c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/pkgutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -905,14 +905,6 @@ db_lock::~db_lock()
}
}

string
itos(unsigned int value)
{
static char buf[20];
sprintf(buf, "%u", value);
return buf;
}

string
mtos(mode_t mode)
{
Expand Down
2 changes: 0 additions & 2 deletions src/pkgutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ class runtime_error_with_errno : public runtime_error
/*
* Utility functions.
*/
string itos(unsigned int value);

string mtos(mode_t mode);

string trim_filename(const string& filename);
Expand Down

0 comments on commit 0eca0c0

Please sign in to comment.