diff options
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 1984ed476..2767068d4 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -551,20 +551,6 @@ simple_digest (vector<boost::filesystem::path> paths) } -/** Round a number up to the nearest multiple of another number. - * @param c Index. - * @param stride Array of numbers to round, indexed by c. - * @param t Multiple to round to. - * @return Rounded number. - */ -int -stride_round_up (int c, int const * stride, int t) -{ - int const a = stride[c] + (t - 1); - return a - (a % t); -} - - /** Trip an assert if the caller is not in the UI thread */ void ensure_ui_thread () |
