@@ -255,8 +255,6 @@ class DLLSYM CLIST_ITERATOR
255
255
inline void CLIST_ITERATOR::set_to_list ( // change list
256
256
CLIST *list_to_iterate) {
257
257
#ifndef NDEBUG
258
- if (!this )
259
- NULL_OBJECT.error (" CLIST_ITERATOR::set_to_list" , ABORT, NULL );
260
258
if (!list_to_iterate)
261
259
BAD_PARAMETER.error (" CLIST_ITERATOR::set_to_list" , ABORT,
262
260
" list_to_iterate is NULL" );
@@ -296,8 +294,6 @@ inline void CLIST_ITERATOR::add_after_then_move( // element to add
296
294
CLIST_LINK *new_element;
297
295
298
296
#ifndef NDEBUG
299
- if (!this )
300
- NULL_OBJECT.error (" CLIST_ITERATOR::add_after_then_move" , ABORT, NULL );
301
297
if (!list)
302
298
NO_LIST.error (" CLIST_ITERATOR::add_after_then_move" , ABORT, NULL );
303
299
if (!new_data)
@@ -346,8 +342,6 @@ inline void CLIST_ITERATOR::add_after_stay_put( // element to add
346
342
CLIST_LINK *new_element;
347
343
348
344
#ifndef NDEBUG
349
- if (!this )
350
- NULL_OBJECT.error (" CLIST_ITERATOR::add_after_stay_put" , ABORT, NULL );
351
345
if (!list)
352
346
NO_LIST.error (" CLIST_ITERATOR::add_after_stay_put" , ABORT, NULL );
353
347
if (!new_data)
@@ -399,8 +393,6 @@ inline void CLIST_ITERATOR::add_before_then_move( // element to add
399
393
CLIST_LINK *new_element;
400
394
401
395
#ifndef NDEBUG
402
- if (!this )
403
- NULL_OBJECT.error (" CLIST_ITERATOR::add_before_then_move" , ABORT, NULL );
404
396
if (!list)
405
397
NO_LIST.error (" CLIST_ITERATOR::add_before_then_move" , ABORT, NULL );
406
398
if (!new_data)
@@ -446,8 +438,6 @@ inline void CLIST_ITERATOR::add_before_stay_put( // element to add
446
438
CLIST_LINK *new_element;
447
439
448
440
#ifndef NDEBUG
449
- if (!this )
450
- NULL_OBJECT.error (" CLIST_ITERATOR::add_before_stay_put" , ABORT, NULL );
451
441
if (!list)
452
442
NO_LIST.error (" CLIST_ITERATOR::add_before_stay_put" , ABORT, NULL );
453
443
if (!new_data)
@@ -491,8 +481,6 @@ inline void CLIST_ITERATOR::add_before_stay_put( // element to add
491
481
492
482
inline void CLIST_ITERATOR::add_list_after (CLIST *list_to_add) {
493
483
#ifndef NDEBUG
494
- if (!this )
495
- NULL_OBJECT.error (" CLIST_ITERATOR::add_list_after" , ABORT, NULL );
496
484
if (!list)
497
485
NO_LIST.error (" CLIST_ITERATOR::add_list_after" , ABORT, NULL );
498
486
if (!list_to_add)
@@ -541,8 +529,6 @@ inline void CLIST_ITERATOR::add_list_after(CLIST *list_to_add) {
541
529
542
530
inline void CLIST_ITERATOR::add_list_before (CLIST *list_to_add) {
543
531
#ifndef NDEBUG
544
- if (!this )
545
- NULL_OBJECT.error (" CLIST_ITERATOR::add_list_before" , ABORT, NULL );
546
532
if (!list)
547
533
NO_LIST.error (" CLIST_ITERATOR::add_list_before" , ABORT, NULL );
548
534
if (!list_to_add)
@@ -591,8 +577,6 @@ inline void *CLIST_ITERATOR::extract() {
591
577
void *extracted_data;
592
578
593
579
#ifndef NDEBUG
594
- if (!this )
595
- NULL_OBJECT.error (" CLIST_ITERATOR::extract" , ABORT, NULL );
596
580
if (!list)
597
581
NO_LIST.error (" CLIST_ITERATOR::extract" , ABORT, NULL );
598
582
if (!current) // list empty or
@@ -632,8 +616,6 @@ inline void *CLIST_ITERATOR::extract() {
632
616
633
617
inline void *CLIST_ITERATOR::move_to_first () {
634
618
#ifndef NDEBUG
635
- if (!this )
636
- NULL_OBJECT.error (" CLIST_ITERATOR::move_to_first" , ABORT, NULL );
637
619
if (!list)
638
620
NO_LIST.error (" CLIST_ITERATOR::move_to_first" , ABORT, NULL );
639
621
#endif
@@ -658,8 +640,6 @@ inline void *CLIST_ITERATOR::move_to_first() {
658
640
659
641
inline void CLIST_ITERATOR::mark_cycle_pt () {
660
642
#ifndef NDEBUG
661
- if (!this )
662
- NULL_OBJECT.error (" CLIST_ITERATOR::mark_cycle_pt" , ABORT, NULL );
663
643
if (!list)
664
644
NO_LIST.error (" CLIST_ITERATOR::mark_cycle_pt" , ABORT, NULL );
665
645
#endif
@@ -681,8 +661,6 @@ inline void CLIST_ITERATOR::mark_cycle_pt() {
681
661
682
662
inline BOOL8 CLIST_ITERATOR::at_first () {
683
663
#ifndef NDEBUG
684
- if (!this )
685
- NULL_OBJECT.error (" CLIST_ITERATOR::at_first" , ABORT, NULL );
686
664
if (!list)
687
665
NO_LIST.error (" CLIST_ITERATOR::at_first" , ABORT, NULL );
688
666
#endif
@@ -703,8 +681,6 @@ inline BOOL8 CLIST_ITERATOR::at_first() {
703
681
704
682
inline BOOL8 CLIST_ITERATOR::at_last () {
705
683
#ifndef NDEBUG
706
- if (!this )
707
- NULL_OBJECT.error (" CLIST_ITERATOR::at_last" , ABORT, NULL );
708
684
if (!list)
709
685
NO_LIST.error (" CLIST_ITERATOR::at_last" , ABORT, NULL );
710
686
#endif
@@ -725,8 +701,6 @@ inline BOOL8 CLIST_ITERATOR::at_last() {
725
701
726
702
inline BOOL8 CLIST_ITERATOR::cycled_list () {
727
703
#ifndef NDEBUG
728
- if (!this )
729
- NULL_OBJECT.error (" CLIST_ITERATOR::cycled_list" , ABORT, NULL );
730
704
if (!list)
731
705
NO_LIST.error (" CLIST_ITERATOR::cycled_list" , ABORT, NULL );
732
706
#endif
@@ -745,8 +719,6 @@ inline BOOL8 CLIST_ITERATOR::cycled_list() {
745
719
746
720
inline inT32 CLIST_ITERATOR::length () {
747
721
#ifndef NDEBUG
748
- if (!this )
749
- NULL_OBJECT.error (" CLIST_ITERATOR::length" , ABORT, NULL );
750
722
if (!list)
751
723
NO_LIST.error (" CLIST_ITERATOR::length" , ABORT, NULL );
752
724
#endif
@@ -767,8 +739,6 @@ CLIST_ITERATOR::sort ( //sort elements
767
739
int comparator ( // comparison routine
768
740
const void *, const void *)) {
769
741
#ifndef NDEBUG
770
- if (!this )
771
- NULL_OBJECT.error (" CLIST_ITERATOR::sort" , ABORT, NULL );
772
742
if (!list)
773
743
NO_LIST.error (" CLIST_ITERATOR::sort" , ABORT, NULL );
774
744
#endif
@@ -793,8 +763,6 @@ inline void CLIST_ITERATOR::add_to_end( // element to add
793
763
CLIST_LINK *new_element;
794
764
795
765
#ifndef NDEBUG
796
- if (!this )
797
- NULL_OBJECT.error (" CLIST_ITERATOR::add_to_end" , ABORT, NULL );
798
766
if (!list)
799
767
NO_LIST.error (" CLIST_ITERATOR::add_to_end" , ABORT, NULL );
800
768
if (!new_data)
0 commit comments