Browse Source

Remove unused variables

pull/3410/merge
Gabriel Caruso 8 years ago
parent
commit
fb966b9825
No known key found for this signature in database GPG Key ID: D93D6E258EFC438A
  1. 1
      ext/intl/breakiterator/breakiterator_methods.cpp
  2. 3
      ext/intl/breakiterator/codepointiterator_internal.cpp

1
ext/intl/breakiterator/breakiterator_methods.cpp

@ -115,7 +115,6 @@ U_CFUNC PHP_FUNCTION(breakiter_create_title_instance)
U_CFUNC PHP_FUNCTION(breakiter_create_code_point_instance)
{
UErrorCode status = UErrorCode();
intl_error_reset(NULL);
if (zend_parse_parameters_none() == FAILURE) {

3
ext/intl/breakiterator/codepointiterator_internal.cpp

@ -35,7 +35,7 @@ using namespace PHP;
using icu::UCharCharacterIterator;
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CodePointBreakIterator);
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CodePointBreakIterator)
CodePointBreakIterator::CodePointBreakIterator()
: BreakIterator(), fCharIter(NULL), lastCodePoint(U_SENTINEL)
@ -53,7 +53,6 @@ CodePointBreakIterator::CodePointBreakIterator(const PHP::CodePointBreakIterator
CodePointBreakIterator& CodePointBreakIterator::operator=(const CodePointBreakIterator& that)
{
UErrorCode uec = UErrorCode();
UText *ut_clone = NULL;
if (this == &that) {
return *this;

Loading…
Cancel
Save