summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2009-03-03 01:22:50 +0000
committererdgeist <>2009-03-03 01:22:50 +0000
commita6fe338040b604230a3ec660f82166c595c9ee63 (patch)
treee842e88c778345d54e63fef9c69840d74a815033
parent02078aba27b9ff150e8b02d9546a04525f056b33 (diff)
Remove superfluous test for == NULL, when variable has been used, anyway
-rw-r--r--trackerlogic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 3857202..69deddd 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -98,7 +98,7 @@ struct ot_peerlist {
98*/ 98*/
99 ot_vector peers; 99 ot_vector peers;
100}; 100};
101#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list) && ((peer_list)->peers.size > (peer_list)->peers.space)) 101#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list)->peers.size > (peer_list)->peers.space)
102 102
103struct ot_workstruct { 103struct ot_workstruct {
104 /* Thread specific, static */ 104 /* Thread specific, static */