Skip to content

Commit fb966b9

Browse files
committed
Remove unused variables
1 parent 9e4d590 commit fb966b9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ext/intl/breakiterator/breakiterator_methods.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ U_CFUNC PHP_FUNCTION(breakiter_create_title_instance)
115115

116116
U_CFUNC PHP_FUNCTION(breakiter_create_code_point_instance)
117117
{
118-
UErrorCode status = UErrorCode();
119118
intl_error_reset(NULL);
120119

121120
if (zend_parse_parameters_none() == FAILURE) {

ext/intl/breakiterator/codepointiterator_internal.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ using namespace PHP;
3535

3636
using icu::UCharCharacterIterator;
3737

38-
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CodePointBreakIterator);
38+
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CodePointBreakIterator)
3939

4040
CodePointBreakIterator::CodePointBreakIterator()
4141
: BreakIterator(), fCharIter(NULL), lastCodePoint(U_SENTINEL)
@@ -53,7 +53,6 @@ CodePointBreakIterator::CodePointBreakIterator(const PHP::CodePointBreakIterator
5353
CodePointBreakIterator& CodePointBreakIterator::operator=(const CodePointBreakIterator& that)
5454
{
5555
UErrorCode uec = UErrorCode();
56-
UText *ut_clone = NULL;
5756

5857
if (this == &that) {
5958
return *this;

0 commit comments

Comments
 (0)