diff options
author | Oneric <oneric@oneric.stub> | 2022-04-16 20:33:29 +0200 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2022-04-17 19:43:11 +0200 |
commit | 0832a98d51728782725177aef97f45ae58672270 (patch) | |
tree | d0b453307947f7b46a1edde6298ce70d2b3fb973 | |
parent | 0e0f9da2edc8eead93f9bf0ac4ef0336ad646ea7 (diff) | |
download | libass-0832a98d51728782725177aef97f45ae58672270.tar.bz2 libass-0832a98d51728782725177aef97f45ae58672270.tar.xz |
utils: drop unused function
mystrtoll was not used since 7913e4a64c704a3b82719d70920b5b153b43d254
-rw-r--r-- | libass/ass_utils.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libass/ass_utils.h b/libass/ass_utils.h index 7fc922e..227ac58 100644 --- a/libass/ass_utils.h +++ b/libass/ass_utils.h @@ -190,14 +190,6 @@ static inline int mystrtoi(char **p, int *res) return *p != start; } -static inline int mystrtoll(char **p, long long *res) -{ - char *start = *p; - double temp_res = ass_strtod(*p, p); - *res = (long long) (temp_res + (temp_res > 0 ? 0.5 : -0.5)); - return *p != start; -} - static inline int mystrtod(char **p, double *res) { char *start = *p; |