summaryrefslogtreecommitdiff
path: root/pango/emoji_presentation_scanner.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-01 22:38:43 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-01 22:38:43 -0400
commited34d7eaff5ffbfe0f7a19d2b024e33e32e2ced3 (patch)
tree891ac767e4e603d793451f0688621cf38cd590c1 /pango/emoji_presentation_scanner.c
parent8ffea42a6703cba1433a974f61ecfdf5ad966345 (diff)
downloadpango-ed34d7eaff5ffbfe0f7a19d2b024e33e32e2ced3.tar.gz
Avoid another compiler warning
Unused-but-set-variable.
Diffstat (limited to 'pango/emoji_presentation_scanner.c')
-rw-r--r--pango/emoji_presentation_scanner.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/pango/emoji_presentation_scanner.c b/pango/emoji_presentation_scanner.c
index 97a52927..87e55aa7 100644
--- a/pango/emoji_presentation_scanner.c
+++ b/pango/emoji_presentation_scanner.c
@@ -96,7 +96,7 @@ scan_emoji_presentation (emoji_text_iter_t p,
const emoji_text_iter_t pe,
bool* is_emoji)
{
- emoji_text_iter_t ts, te;
+ emoji_text_iter_t te;
const emoji_text_iter_t eof = pe;
unsigned act;
@@ -106,7 +106,6 @@ scan_emoji_presentation (emoji_text_iter_t p,
#line 107 "emoji_presentation_scanner.c"
{
cs = emoji_presentation_start;
- ts = 0;
te = 0;
act = 0;
}
@@ -128,7 +127,6 @@ _resume:
switch ( *_acts++ ) {
case 1:
#line 1 "NONE"
- {ts = p;}
break;
#line 134 "emoji_presentation_scanner.c"
}
@@ -255,7 +253,6 @@ _again:
switch ( *_acts++ ) {
case 0:
#line 1 "NONE"
- {ts = 0;}
break;
#line 261 "emoji_presentation_scanner.c"
}