remove unnecessary is_same_size function
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
This commit is contained in:
parent
4ca19c42a8
commit
6715048969
14
numericx.c
14
numericx.c
|
@ -62,20 +62,6 @@ increment(numeral_ptr* numeral, char* num_first, char* num_last)
|
|||
++(numeral->symbol);
|
||||
}
|
||||
|
||||
bool
|
||||
is_same_size(numeral_ptr* numeral, char* number_string)
|
||||
{
|
||||
for( size_t i = strlen(number_string) ; !(i == 0) ; ++i )
|
||||
{
|
||||
if(numeral == NULL)
|
||||
return false;
|
||||
|
||||
numeral = numeral->next;
|
||||
}
|
||||
|
||||
return (numeral == NULL) ? true : false;
|
||||
}
|
||||
|
||||
bool
|
||||
is_the_same(numeral_ptr* numeral, char* number_arg)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue