diff options
author | Daniel Santos <dacs.git@brilhante.top> | 2022-03-08 18:56:53 +0000 |
---|---|---|
committer | Daniel Santos <dacs.git@brilhante.top> | 2022-03-08 18:56:53 +0000 |
commit | 6715048969978af4f6b332f0259ed8f81fdd7319 (patch) | |
tree | de7b71f8dc17471c0c2b03fd33e8af6f8e4df6ca | |
parent | 4ca19c42a86534219683e7f213a9fd7cf47f45c5 (diff) | |
download | numericx-c-6715048969978af4f6b332f0259ed8f81fdd7319.tar.gz |
remove unnecessary is_same_size function
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
-rw-r--r-- | numericx.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/numericx.c b/numericx.c index 14f23f3..792a4c3 100644 --- a/numericx.c +++ b/numericx.c @@ -63,20 +63,6 @@ increment(numeral_ptr* numeral, char* num_first, char* num_last) } 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) { while( !(numeral == NULL) ) |