Module: wine Branch: master Commit: 2b3c5d6194c4843a7f8ec4a53099e2397fe54131 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b3c5d6194c4843a7f8ec4a530...
Author: André Hentschel nerv@dawncrow.de Date: Fri Nov 21 20:58:56 2014 +0100
dwrite: Remove unused code (Clang).
---
dlls/dwrite/bidi.c | 6 ------ dlls/dwrite/shape.c | 2 -- 2 files changed, 8 deletions(-)
diff --git a/dlls/dwrite/bidi.c b/dlls/dwrite/bidi.c index 48a7a06..69eae5a 100644 --- a/dlls/dwrite/bidi.c +++ b/dlls/dwrite/bidi.c @@ -513,12 +513,6 @@ static inline int get_prev_valid_char_from_run(IsolatedRun *run, int index) return index; }
-static inline int iso_previousChar(IsolatedRun *run, int index) -{ - if (index <= 0) return -1; - return index--; -} - static inline void iso_dump_types(const char* header, IsolatedRun *run) { int i, len = 0; diff --git a/dlls/dwrite/shape.c b/dlls/dwrite/shape.c index c1ae452..a603932 100644 --- a/dlls/dwrite/shape.c +++ b/dlls/dwrite/shape.c @@ -23,8 +23,6 @@
#include "dwrite_private.h"
-WINE_DEFAULT_DEBUG_CHANNEL(dwrite); - struct scriptshaping_cache { IDWriteFontFace *fontface;