mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
Code Cleanup
- Removed unused util.cpp delay function.
This commit is contained in:
parent
be104ee7c4
commit
8a31ccabdc
3 changed files with 0 additions and 12 deletions
10
src/util.cpp
10
src/util.cpp
|
@ -135,16 +135,6 @@ int confirm4 (const std::string& question)
|
|||
else return 0;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void delay (float f)
|
||||
{
|
||||
struct timeval t;
|
||||
t.tv_sec = (int) f;
|
||||
t.tv_usec = int ((f - (int)f) * 1000000);
|
||||
|
||||
select (0, NULL, NULL, NULL, &t);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Convert a quantity in seconds to a more readable format.
|
||||
std::string formatBytes (size_t bytes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue